Did I find the right examples for you? yes no

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

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
 
 
        try:
            self.batch_consumer = BatchConsumer(self)
            # returns immediately
            batch.run(files, self.batch_consumer, config=cfg, workers=nw, mask=mask, skip=skip)

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
 
 
class StagedBatchConsumer(BatchConsumer):