Calmcode - tqdm: estimating the total time

Estimating the Total Time

1 2 3 4 5

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)