DEV Community

Discussion on: A cool new progress bar for python!

Collapse
 
rsalmei profile image
Rogério Sampaio de Almeida

Thank you man! Appreciated!
Yeah, the context manager approach is not only visually good, but also useful! It allows you to call bar() just when you want, not necessarily in all iterations! So you can count at the same time the total and "broken" items, or "ok" items, so at the end you nicely get a receipt of "4800/5000", giving you more information than tqdm ever could.