zvyn / python-progressbar

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

Update progress more often (echoing https://github.com/olivierverdier/python-progressbar/pull/1) #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
if you're maxvalues is big, updates in the progress bar happen only at 
"discrete" interval, so when we reach 1%, 2%, and so on.

I noticed this issue on github: 
https://github.com/olivierverdier/python-progressbar/pull/1 (and its relative 
pull request: 
https://github.com/wonderfulll/python-progressbar/commit/a6f92b81ab6e7ea67029486
62d99ff16663d63df ) that should fix this problem, introducing an optional value 
to Start().

Please consider merging it.

Thanks,
Sandro

Original issue reported on code.google.com by matrixhasu on 1 Dec 2011 at 4:09

GoogleCodeExporter commented 9 years ago
The current version in the repository updates at every one percent or after at 
least one second passed. Do you think a parameter like this is still necessary? 
I'd prefer if the library could detect automatically that maxvalue is too big 
and perhaps update at 0.1% intervals (although, in this case, the percentage 
would have to be printed with 1 decimal place).

Original comment by nilton.v...@gmail.com on 5 Dec 2011 at 12:24

GoogleCodeExporter commented 9 years ago
Uh the new version seems very nice: time to release it? :)

I tested and indeed the updated at each second is very nice, even though I'd 
like (as a user) to be given the possibility to choose the interval of update, 
not to bother too frequently or too slowly: do you think it's a valid request?

Please please please, release the new version when you come at it :)

Original comment by matrixhasu on 15 Jan 2012 at 5:24