Skip to content

Instantly share code, notes, and snippets.

@imtapps
Created July 14, 2014 16:25
Show Gist options
  • Save imtapps/b16bb84c27a0ee49fcab to your computer and use it in GitHub Desktop.
Save imtapps/b16bb84c27a0ee49fcab to your computer and use it in GitHub Desktop.
Show the progress without scrolling
import sys
import time
for i in range(100):
sys.stderr.write('\r')
sys.stderr.write(str(i))
time.sleep(.01)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment