Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39388 > unrolled thread

Read arrow keys

Started byPhil <phil_lor@bigpond.com>
First post2013-02-21 09:30 +1000
Last post2013-02-21 09:30 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Read arrow keys Phil <phil_lor@bigpond.com> - 2013-02-21 09:30 +1000

#39388 — Read arrow keys

FromPhil <phil_lor@bigpond.com>
Date2013-02-21 09:30 +1000
SubjectRead arrow keys
Message-ID<mailman.2134.1361412430.2939.python-list@python.org>
Thank you for reading this.

I'm attempting to put a simple remote control program together and to do 
so I need to check if the arrows are pressed. I could probably do this 
with pyqt4 but I'm looking for something simple to experiment with.

Pygame looked like a suitable solution but the error message makes me 
think that pygame doesn't work from the console:

"video system not initialized"

Is there a simple way to read the direction keys within a while loop?

-- 
Regards,
Phil

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web