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.


Notes

You can add a simple description to your loop. The code below demonstrates this.

import this
import tqdm 

for i in tqdm.tqdm(range(100), desc=" first loop"):
    time.sleep(0.02)

for i in tqdm.tqdm(range(100), desc=" second loop"):
    time.sleep(0.02)

print("done!")

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

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