The x, y coordinates used by PyAutoGUI has the 0, 0 origin coordinates in the top left corner of the screen. If you want to do development and contribute to PyAutoGUI, you will need to install these modules from PyPI: Pillow needs to be installed, and on Linux you may need to install additional libraries to make sure Pillow's PNG/JPEG works correctly. Linux needs the python3-xlib (or python-xlib for Python 2) module installed. MacOS needs the pyobjc-core and pyobjc module installed (in that order).
The Win32 extensions do not need to be installed. If you are installing PyAutoGUI from PyPI using pip: If you need help installing Python, visit Dependencies Simplified Chinese documentation available at Used to programmatically control the mouse & keyboard. PyAutoGUI is a cross-platform GUI automation Python module for human beings.