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.
Here's the code used in this example.
import time import glob import tqdm pbar = tqdm.tqdm(glob.glob("logs/*.txt")) for file in pbar: pbar.set_description(file) time.sleep(0.5)
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.