>>> import time >>> import sys >>> blah = "This is written slowly " >>> for l in blah: ... sys.stdout.write(l) ... sys.stdout.flush() ... time.sleep(0.2) ... This is written slowly