Answers for "how to have text slowly appear in python"

1

python slow print

import sys
import time
def slowprint(s):
	for c in s + '\n':
		sys.stdout.write(c)
		sys.stdout.flush()
		time.sleep(1./10)
slowprint("this this writen slowly in my terminal")
Posted by: Guest on May-31-2020

Code answers related to "how to have text slowly appear in python"

Python Answers by Framework

Browse Popular Code Answers by Language