Difference between revisions of "Code/Python"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
== Same line print == | == Same line print == | ||
| − | ( | + | sys.stdout.write("\r%d" % i) |
| + | sys.stdout.flush() | ||
== General == | == General == | ||
Latest revision as of 10:49, 12 July 2013
Same line print
sys.stdout.write("\r%d" % i)
sys.stdout.flush()