Detect a sequence of keystrokes in an os independent way

Fredrik Lundh fredrik at pythonware.com
Wed Aug 20 17:47:52 EDT 2008


Rajanikanth Jammalamadaka wrote:

> Can somebody tell me if there is an os independent way to detect a
> sequence of key strokes. For example, I want to start some other
> program once the user presses a couple of keys: ex: key a and then key

http://effbot.org/pyfaq/how-do-i-get-a-single-keypress-at-a-time.htm

(checking the cookbook might also be a good idea)

</F>




More information about the Python-list mailing list