Skip to content

Instantly share code, notes, and snippets.

@JohannesBuchner
Last active December 16, 2015 03:29
Show Gist options
  • Save JohannesBuchner/5370285 to your computer and use it in GitHub Desktop.
Save JohannesBuchner/5370285 to your computer and use it in GitHub Desktop.
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