Description
Python programs can listen to keyboard and mouse input or send input events back to the desktop. This is useful for hotkey tools, automation, accessibility experiments, testing, and custom control workflows.
It is an input automation library. Capturing or sending input can expose keystrokes and control active applications, so scripts should be trusted and easy to stop.