ProgressBar module¶
Provides a simple command line progress bar.
-
class
ProgressBar.
ProgressBar
(end_val, width)¶ Bases:
object
- class provides a simple progress bar for the command line
- use init with end_val (highest count reachable –> 100%) and width (width of progrssbar in number of characters) to initialiize. with each task done, advance it to reflect the progress on the bar.
-
advance
()¶ advances progressbar