tqdm: estimating the total time
Tqdm (pronounced taqadum) means "progress" in arabic. It is also an abbreviation for "I love you so much" in Spanish (te quiero demasiado). The tool makes your python loops prettier and gives you a sign of life from your program. The documentation for it can be found here.
You can play with the smoothing parameter with the code below.
import time import tqdm for t in tqdm.tqdm(*10 + *50, smoothing=0.1): time.sleep(t*0.01) for t in tqdm.tqdm(*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.