Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python slow print

import sys
import time
def slowprint(s):
	for c in s + '
':
		sys.stdout.write(c)
		sys.stdout.flush()
		time.sleep(1./10)
slowprint("this this writen slowly in my terminal")
 
PREVIOUS NEXT
Tagged: #python #slow #print
ADD COMMENT
Topic
Name
2+3 =