2014-02-24 11:38:50 +01:00
|
|
|
This library provides a text mode progressbar. This is typically
|
2010-04-07 16:13:06 +02:00
|
|
|
used to display the progress of a long running operation, providing
|
|
|
|
a visual clue that processing is underway.
|
|
|
|
|
|
|
|
The ProgressBar class manages the progress, and the format of the
|
|
|
|
line is given by a number of widgets. A widget is an object that
|
|
|
|
may display diferently depending on the state of the progress.
|
|
|
|
|
|
|
|
There are three types of widget:
|
|
|
|
- a string, which always shows itself;
|
|
|
|
- a ProgressBarWidget, which may return a diferent value every time
|
2014-02-24 11:38:50 +01:00
|
|
|
it's update method is called; and
|
2010-04-07 16:13:06 +02:00
|
|
|
- a ProgressBarWidgetHFill, which is like ProgressBarWidget, except
|
2014-02-24 11:38:50 +01:00
|
|
|
it expands to fill the remaining width of the line.
|
2010-04-07 16:13:06 +02:00
|
|
|
|
2014-02-24 11:38:50 +01:00
|
|
|
WWW: http://code.google.com/p/python-progressbar
|