Home | Trees | Indices | Help |
---|
|
Show progress of an arbitrary function.
Here is a silly example of its usage:
>>> import progress >>> import time >>> import random >>> p = progress.ProgressMeter(total=1000) >>> while total > 0: ... cnt = random.randint(1, 25) ... p.update(cnt) ... total -= cnt ... time.sleep(random.random())
Here is an example of its output:
[-------------------------> ] 41% 821.2/sec
|
|||
ProgressMeter |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 30 10:45:18 2018 | http://epydoc.sourceforge.net |