1import sys
2import time
3def slowprint(s):
4 for c in s + '\n':
5 sys.stdout.write(c)
6 sys.stdout.flush()
7 time.sleep(1./10)
8slowprint("this this writen slowly in my terminal")
1def slowPrint(string):
2 for char in range(len(string)):
3 print(string[char], end="")
4 #time.sleep(x) can be used for a longer wait but is not needed...
5 #for a noticable reduction in output speed
6 print("")
7