Skip to content

Instantly share code, notes, and snippets.

@jaredjburgess
Last active March 17, 2016 18:25
Show Gist options
  • Save jaredjburgess/3b2397b70916413d9cb6 to your computer and use it in GitHub Desktop.
Save jaredjburgess/3b2397b70916413d9cb6 to your computer and use it in GitHub Desktop.
Template for interactive progress bar.
import progressbar
pbar = progressbar.ProgressBar(maxval=len(object))
pbar.start()
for i in range(len(object)):
pbar.update(i)
pbar.finish()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment