Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a typing effect in python

import sys,time

def type(text):
  for char in text:
     sys.stdout.write(char)
     sys.stdout.flush()
     time.sleep(0.1)
        
#use it
type("Hello world")
 
PREVIOUS NEXT
Tagged: #typing #effect #python
ADD COMMENT
Topic
Name
2+2 =