Calmcode - tqdm: making a progress bar

Making a progress bar

1 2 3 4 5

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. It also has a neat documentation page.

After importing tqdm you can apply it in your forloop if you'd like to use it.

import time
import tqdm
for i in tqdm.tqdm(range(100)):
    time.sleep(0.1)

print("done!")

Make sure that tqdm is installed before you run the code though.