Archive

Posts Tagged ‘keypress’

Simulate keypresses

March 3, 2022 Leave a comment

Problem

You want to simulate keypresses from a Python program.

Solution

Use PyAutoGUI. Easy to install, easy to use. The keyboard control functions are here.

Categories: python Tags: , ,