python-progressbar icon indicating copy to clipboard operation
python-progressbar copied to clipboard

Add initial value to start method

Open SteveAyre opened this issue 10 years ago • 1 comments

When start is called it updates the value to zero. The calculations for ETA, speed etc then assume that the progress started from zero. If the bar starts when some progress has been made this can lead to some odd statistics, such as 200T/s transfer rates.

This could be avoided with an optional initial value to the start method, and then use that offset when calculating the rate of change.

SteveAyre avatar Dec 02 '15 14:12 SteveAyre

That was what I exactly want to solve... eg. File downloading interrupted and continue to download.

Wistral avatar Sep 18 '19 13:09 Wistral