14 lines
256 B
Python
14 lines
256 B
Python
|
import pyautogui
|
||
|
import time
|
||
|
|
||
|
for i in range(5, 0, -1):
|
||
|
print(i)
|
||
|
time.sleep(i)
|
||
|
print("GO!")
|
||
|
|
||
|
with open("ascii.txt") as f:
|
||
|
txt = f.read()
|
||
|
txt = txt.replace("\r\n", "\n") # Windows compat
|
||
|
txt += "\n"
|
||
|
|
||
|
pyautogui.typewrite(txt, interval=0.01)
|