emulate a key press

Bart Nessux bart_nessux at hotmail.com
Sun Feb 29 11:51:54 EST 2004


This probaly isn't possible with Python, but I thought I'd ask.

I want to emulate a key press programatically. I want the computer (G5
running Mac OSX 10.3) to think that the user has pressed the space bar on
the keyboard. Any module in Python that makes this easy? If not, I'll do
something in C.



More information about the Python-list mailing list