logo

... tqdm.


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.


Episode 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? Feel free to mention it here.

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