Created
December 20, 2012 04:08
-
-
Save supermomonga/4342922 to your computer and use it in GitHub Desktop.
simple number progress
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import time | |
import sys | |
for i in xrange(101): | |
time.sleep(0.05) | |
sys.stdout.write("\r%s" % i) | |
sys.stdout.flush() | |
sys.stdout.write("\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment