Skip to content

Instantly share code, notes, and snippets.

@jackboot7
Created February 28, 2018 18:00
Show Gist options
  • Save jackboot7/d919177640de7cb4f7eb9c0221c9c77a to your computer and use it in GitHub Desktop.
Save jackboot7/d919177640de7cb4f7eb9c0221c9c77a to your computer and use it in GitHub Desktop.
import time
import sys
for progress in range(100):
time.sleep(0.1)
sys.stdout.write("Download progress: %d%% \r" % (progress) )
sys.stdout.flush()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment