diff --git a/python/Python Fundamental for Data Science/autotyper.py b/python/Python Fundamental for Data Science/autotyper.py new file mode 100644 index 0000000..2fd8a06 --- /dev/null +++ b/python/Python Fundamental for Data Science/autotyper.py @@ -0,0 +1,11 @@ +import pyperclip, pyautogui +import time + +sleeptime = time.sleep(5) + +for i in pyperclip.paste().split("\n"): + for j in i: + pyautogui.write(j) + if j in ["[","\"","\'","("]: + pyautogui.press("delete") + pyautogui.press(["enter","home"]) \ No newline at end of file