Listening for a certain keypress in the background

Mathias Dahl brakjoller at gmail.com
Sat Oct 22 07:31:34 EDT 2005


I have created a Python program that is running on my desktop. 

How can I make it listen for a certain keypress (say, Windows-key +
space) in a controlled fashion even when it is not the program having
focus?

I need to do this running GNOME under Mandrake GN/Linux 10.

/Mathias




More information about the Python-list mailing list