GitHub
github.com › asweigart › pyautogui
GitHub - asweigart/pyautogui: A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard. · GitHub
A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard. - asweigart/pyautogui
Starred by 12.5K users
Forked by 1.4K users
Languages Python
Read the Docs
pyautogui.readthedocs.io
Welcome to PyAutoGUI’s documentation! — PyAutoGUI documentation
To install with pip, run pip install pyautogui. See the Installation page for more details. The source code is available on: https://github.com/asweigart/pyautogui
Videos
11:07
How To Automate Your Desktop With PyAutoGui - YouTube
11:19
Control your Mouse with PyAutoGui using Python 3.10 Tutorial (Windows ...
PyautoGUI: Three Great Uses
Einfache Automatisierung mit PyAutoGUI (Python, Deutsch)
36:11
Python Automation with PyAutoGUI | Full Course With Projects! - ...
21:40
Pyautogui basics tutorial part 1: how to automate mouse operation ...
GitHub
github.com › pravinnath › pyautogui
GitHub - pravinnath/pyautogui · GitHub
Simplified Chinese documentation(简体中文版文档) available at https://muxuezi.github.io/posts/doc-pyautogui.html · Source code available at https://github.com/asweigart/pyautogui
Author pravinnath
PyPI
pypi.org › project › PyAutoGUI › 0.9.6
PyAutoGUI · PyPI
Full documentation available at https://pyautogui.readthedocs.org · Source code available at https://github.com/asweigart/pyautogui · Windows has no dependencies. The Win32 extensions do not need to be installed. OS X needs the pyobjc-core and pyobjc module installed (in that order).
» pip install PyAutoGUI
Read the Docs
buildmedia.readthedocs.org › media › pdf › pyautogui › latest › pyautogui.pdf pdf
PyAutoGUI Documentation Al Sweigart Sep 14, 2021
To install with pip, run pip install pyautogui. See the Installation page for more details. The source code is available on: https://github.com/asweigart/pyautogui
GitHub
github.com › UncleEngineer › pyautogui-1
GitHub - UncleEngineer/pyautogui-1: A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
Simplified Chinese documentation available at https://muxuezi.github.io/posts/doc-pyautogui.html · Source code available at https://github.com/asweigart/pyautogui · PyAutoGUI supports Python 2 and 3. If you are installing PyAutoGUI from PyPI using pip: Windows has no dependencies.
Author UncleEngineer
Automate the Boring Stuff
automatetheboringstuff.com › 2e › chapter20
20 controlling the keyboard and mouse with gui automation
The tutorial covers many of the same topics that this chapter covers but also includes descriptions of PyAutoGUI’s basic image recognition features. The source code for this bot is at https://github.com/asweigart/sushigoroundbot/ and a video of the bot playing the game is at https://yout...
Snyk
snyk.io › advisor › pyautogui › pyautogui code examples
Top 5 PyAutoGUI Code Examples | Snyk
def pasteIntoTextField(value, removePreviousContents=True, useClipboard=True, layout="de"): """ @brief paste value into current text field """ print(value) # remove previous content if removePreviousContents: typeTwoKeys('ctrl', 'a') time.sleep(DELAY_KEY) if useClipboard: # use copy & paste (due problems with certain characters, for example '|') pyperclip.copy(value) pyautogui.hotkey('ctrl', 'v') else: pyautogui.typewrite(translateKeys(value, layout))
Javatpoint
javatpoint.com › python-pyautogui-library
Python pyautogui Library | Automation Testing Using
Python pyautogui Library with python, tutorial, tkinter, button, overview, entry, checkbutton, canvas, frame, environment set-up, first python program, operators, etc.
PyAutoGUI
pyautogui.readthedocs.io › en › latest › quickstart.html
Cheat Sheet — PyAutoGUI documentation - Read the Docs
This is a quickstart reference to using PyAutoGUI. PyAutoGUI is cross-platform GUI automation module that works on Python 2 & 3.
GitHub
github.com › SkyN9ne › PyAutoGui
GitHub - SkyN9ne/PyAutoGUI: A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard. - SkyN9ne/PyAutoGUI
Author SkyN9ne
GitHub
github.com › asweigart › pyautogui › blob › master › docs › quickstart.rst
pyautogui/docs/quickstart.rst at master · asweigart/pyautogui
A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard. - pyautogui/docs/quickstart.rst at master · asweigart/pyautogui
Author asweigart
PyAutoGUI
pyautogui.readthedocs.io › en › latest › install.html
Installation — PyAutoGUI documentation - Read the Docs
To install PyAutoGUI, install the pyautogui package from PyPI by running pip install pyautogui (on Windows) or pip3 install pyautogui (on macOS and Linux).
DevTut
devtut.github.io › python › pyautogui-module.html
Python - pyautogui module
size() #gave you the size of the screen position() #return current position of mouse moveTo(200,0,duration=1.5) #move the cursor to (200,0) position with 1.5 second delay moveRel() #move the cursor relative to your current position. click(337,46) #it will click on the position mention there dragRel() #it will drag the mouse relative to position pyautogui.displayMousePosition() #gave you the current mouse position but should be done on terminal.
Webscale
section.io › home › blog
Introduction to Automation using PyAutoGUI
June 24, 2025 - Get the latest insights on AI, personalization, infrastructure, and digital commerce from the Webscale team and partners.
PyPI
pypi.org › project › PyAutoGUI › 0.9.9
PyAutoGUI 0.9.9
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
LearnCodeByGaming
learncodebygaming.com › blog › pyautogui-not-working-use-directinput
PyAutoGUI not working? Use DirectInput - LearnCodeByGaming.com
February 24, 2020 - "This library aims to replicate the functionality of the PyAutoGUI mouse and keyboard inputs, but by utilizing DirectInput scan codes and the more modern SendInput() win32 function. PyAutoGUI uses Virtual Key Codes (VKs) and the deprecated mouse_event() and keybd_event() win32 functions.