Skip to content

Instantly share code, notes, and snippets.



Last active Dec 16, 2015
What would you like to do?
Python progressbar
import progressbar
pbar = progressbar.ProgressBar(widgets=[progressbar.Percentage(),
progressbar.Counter('%5d'), progressbar.Bar(), progressbar.ETA()])
for obj in pbar(to_handle):
# deal with object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment