yingchun79 / python-progressbar

Automatically exported from code.google.com/p/python-progressbar
Other
0 stars 0 forks source link

Feature Request: Progressbar for collections and iterators of fixed size #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is very much a question of subjective taste, but about 95% of the time I 
use progressbar (which is a great library by the way), it is with a list or 
with an iterator who's size I know beforehand. And so, I always wind up writing 
the same 3/4 lines to set up my progress bar.

I have attached a mercurial patch that adds a function to progressbar.py called 
fixed_bar, which does exactly that. Would really appreciate it if you would 
merge them in.

Original issue reported on code.google.com by rory.geo...@ecometrica.org on 15 Nov 2013 at 8:39

Attachments: