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


Groups > comp.lang.python > #39388

Read arrow keys

Date 2013-02-21 09:30 +1000
From Phil <phil_lor@bigpond.com>
Subject Read arrow keys
Newsgroups comp.lang.python
Message-ID <mailman.2134.1361412430.2939.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web