[Tutor] How to Capture a key being pressed?

brandon w bbbgggwww at gmail.com
Wed Jan 4 19:28:40 CET 2012


How do I capture a key like the <Space> bar or the <Enter> key? Is there
anything that comes in the default Python2.6.6 installation?
I have found something called "termios" doing a search. Should I just use
Pygame? I would like it to go cross platform if possible.

Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120104/a10e1914/attachment.html>


More information about the Tutor mailing list