Skip to navigation
Inline command counter example
07.12.13
import sys intLoop=0 while intLoop < 100000: sys.stdout.write("d\b\b\b\b\b\b\b" % intLoop) intLoop += 1 import time import sys for i in range (0, 100): sys.stdout.write('%d\r' % i) sys.stdout.flush() time.sleep(0.1) sys.stdout.write('\b') raw_input("Press RETURN to finish.")
Reply
Anonymous
Information Epoch 1732520272
There is no perfect productivity system.
Home
Notebook
Contact us