logo

... tqdm: estimating the total time



Notes

You can play with the smoothing parameter with the code below.

import time
import tqdm

for t in tqdm.tqdm([50]*10 + [10]*50, smoothing=0.1):
    time.sleep(t*0.01)

for t in tqdm.tqdm([50]*10 + [10]*50, smoothing=0.9):
    time.sleep(t*0.01)

Feedback? See an issue? Something unclear? Feel free to mention it here.



If you want to be kept up to date, consider signing up for the newsletter.