logo

... tqdm: descriptions



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 signing up for the newsletter.