import threading import time def writeMyName(): name = "Diego David Cayo" for c in name: print(c, end='', flush=True) time.sleep(0.4) print() print("Mi nombre es:") thread = threading.Thread(target=writeMyName) thread.start()