prompt()and password(these functions can be used to provide notifications or ask the user questions while the rest of the program interacts with the computer through the mouse and keyboard the full online documentation can be found at summary gui automation with the pyautogui module allows you to interact with applications on your computer by controlling the mouse and keyboard while this approach is flexible enough to do anything that human user can dothe downside is that these programs are fairly blind to what they are clicking or typing when writing gui automation programstry to ensure that they will crash quickly if they're given bad instructions crashing is annoyingbut it' much better than the program continuing in error you can move the mouse cursor around the screen and simulate mouse clickskeystrokesand keyboard shortcuts with pyautogui the pyautogui module can also check the colors on the screenwhich can provide your gui automation program with enough of an idea of the screen contents to know whether it has gotten offtrack you can even give pyautogui screenshot and let it figure out the coordinates of the area you want to click you can combine all of these pyautogui features to automate any mindlessly repetitive task on your computer in factit can be downright hypnotic to watch the mouse cursor move on its own and to see text appear on the screen automatically why not spend the time you saved by sitting back and watching your program do all your work for youthere' certain satisfaction that comes from seeing how your cleverness has saved you from the boring stuff