Package pyvision :: Package analysis :: Module progress_bar :: Class ProgressBar
[hide private]
[frames] | no frames]

Class ProgressBar

source code

Modified from: http://code.activestate.com/recipes/168639-progress-bar-class/

Instance Methods [hide private]
 
__init__(self, minValue=0, maxValue=10, totalWidth=60) source code
 
updateAmount(self, newAmount=None)
Update the progress bar.
source code
 
__str__(self) source code
 
show(self)
Displays the progress bar on stdout.
source code
 
finish(self)
Conducts Cleanup and new line.
source code
Method Details [hide private]

updateAmount(self, newAmount=None)

source code 

Update the progress bar. By default this will increment the amount by 1.

After calling this make sure to call show() to display the progress bar.