bx.cookbook.progress_bar module
- An ASCII text progress bar. See __main__ for command line use (using
to
move the cursor back to the start of the current line is the key, on terminals that do not support this functionality the progress bar will not work as well).
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/168639
- class bx.cookbook.progress_bar.ProgressBar(minValue=0, maxValue=10, totalWidth=72)
Bases:
object
- update(newAmount=0)
- update_and_print(newAmount=0, f=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)
- bx.cookbook.progress_bar.iterprogress(sized_iterable)
Iterate something printing progress bar to stdout