PyAutoGUI is a cross-platform Python library for automating graphical desktop interfaces through programmatic mouse and keyboard control. Scripts can move the pointer, click, drag, scroll, and send individual keys or complete keyboard shortcuts. It can capture screenshots and locate known images on the screen, enabling visually guided automation. The library also provides simple alert, confirmation, prompt, and password dialog boxes. Screen dimensions and current pointer coordinates can be inspected to help scripts adapt to the environment. On supported systems, related functionality can interact with application windows for positioning and state changes. PyAutoGUI runs on Windows, macOS, and Linux and is commonly used for repetitive desktop tasks, GUI testing, and automation where direct APIs are unavailable.

Features

  • Mouse movement, clicking, dragging, and scrolling
  • Keyboard typing and shortcut automation
  • Screenshot capture
  • On-screen image recognition
  • Desktop alert and input dialogs
  • Windows, macOS, and Linux support

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow PyAutoGUI

PyAutoGUI Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PyAutoGUI!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python User Interface (UI) Software

Registered

2026-09-22