Incremental Progress Report object/closure?

George Sakkis george.sakkis at gmail.com
Fri Sep 1 14:25:20 EDT 2006


Terrence Brannon wrote:

> 'lo all, I'm looking for something that gives feedback to the screen
> every X iterations, reporting
>
> Time elapsed:  0:00:00   X,XXX,XXX records done. speed XXXX/second.
> [Action Label]
>
>
> Such a thingy is useful when one is cranking away at million record
> flat files and one wants to provide feedback to the user lest he bash
> away at the interrupt key in fear of his machine being locked up.
>
> All the best mates,
> -- meta

Check out if any of the progress bar recipes in the Cookbook can be
tweaked to fit the bill:
http://aspn.activestate.com/ASPN/search?query=progress+bar&x=0&y=0&section=PYTHONCKBK&type=Subsection

HTH,
George




More information about the Python-list mailing list