Last active
December 16, 2015 03:29
-
-
Save JohannesBuchner/5370285 to your computer and use it in GitHub Desktop.
Python progressbar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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