Show a progress bar for long running loops with tqdm

I can't tell you how many times I've kicked off a long running process only to kill it and add in a progress indicator. I probably should have come up with something standard awhile ago, but now I don't have to. tqdm has created one kind of solution.

Instantly make your loops show a progress meter - just wrap any iterator with tqdm(iterator), and you're done!

Can't say much more about it, but if you have had this problem in the past you might want to check out tqdm.

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

0:00 / 0:00