Last active
December 13, 2020 19:39
-
-
Save pmnlla/bc233e4ea225072d7c0f1447bd3b9b7e to your computer and use it in GitHub Desktop.
Share the shrek script with your friends
I tried this (copy and pasted it exactly into notepad++) but it said "NameError: name 'typewrite' is not defined" so I assumed maybe that was because you (maybe typo, i assumed this because the two lines under it have periods not commas) put a comma between pyatogui and typewrite, but when I added a period instead of a comma it said,"NameError: name 'enter' is not defined"
That is because 'typewrite' does not exist and is not part of the pyautogui library. Use 'write' instead
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My code looks like this
you can change the time.sleep to anything you want (I use 0.9 for Discord)