Skip to content

Instantly share code, notes, and snippets.

@SavvyGuard
Created July 29, 2013 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SavvyGuard/6106577 to your computer and use it in GitHub Desktop.
Save SavvyGuard/6106577 to your computer and use it in GitHub Desktop.
Simple Progress Bar for outputting to console
import sys
def _progressBar(state):
progress_bar = '=' * state
sys.stdout.write('\r'+progress_bar)
sys.stdout.flush()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment