1 import sys 2 import time 3 for i in range(100): 4 sys.stdout.write("#") 5 time.sleep(0.3) 6 sys.stdout.flush()