Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/c/h/chirp-1.2.2/chirp/gui/BatchCompare.py   chirp(Download)
import sys
import threading
from chirp.gui.events import EVT_STAGE, myEVT_STAGE, EVT_COUNT, BatchEvent, BatchConsumer
from chirp.compare import plugins, ccompare
from chirp.common.config import configoptions
    def __call__(self):
        evt = BatchEvent(myEVT_STAGE, -1, (self.njobs, self.descr))
        wx.PostEvent(self._parent, evt)
        BatchConsumer.__call__(self)
 
        if nq > 0:
            self.consumer()
        evt = BatchEvent(myEVT_STAGE, -1, (None, "Operation completed"))
        wx.PostEvent(self.parent, evt)
        self.consumer = None

src/c/h/chirp-1.2.2/chirp/gui/BatchPitch.py   chirp(Download)
import os
import wx
from chirp.gui.events import EVT_COUNT, BatchEvent, BatchConsumer, threading
from chirp.pitch import batch