Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print a line letter by letter in python

import sys, time

for c in "Hello there!":
    sys.stdout.write(c)
    sys.stdout.flush()
    time.sleep(0.1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #line #letter #letter #python
ADD COMMENT
Topic
Name
7+2 =