What is "pyautogui"
Pyautogui allows Python codes to control the mouse and keyboard to automate interactions with other applications. The API is made to be simple. This package operates on Windows, macOS, and Linux, and runs on Python versions 2 and 3.
To install with Pip, run:
pip install pyautogui
It is worth noting that, so far, it is not possible to execute commands of autopygui in the Google Colab, because of its purpose, the package can only run on local machine (which allows you to run it on Jupyter Notebook, for example).
In the following video, we have an example of the application of the package:
https://www.youtube.com/watch?v=lfk_T6VKhTE