Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39388
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <phil_lor@bigpond.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.121 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.76; '*S*': 0.00; 'subject:keys': 0.09; 'looked': 0.10; 'pygame': 0.16; 'keys': 0.22; 'header:User- Agent:1': 0.26; "doesn't": 0.28; 'received:10.0.0': 0.28; 'attempting': 0.29; 'probably': 0.29; 'this.': 0.29; "i'm": 0.29; 'error': 0.30; 'could': 0.32; 'received:10.0': 0.33; 'to:addr :python-list': 0.33; 'direction': 0.35; 'remote': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'thank': 0.36; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'think': 0.40; 'within': 0.64; 'received:61': 0.75; 'experiment': 0.84; 'phil': 0.91 |
| X-Authentication-Info | Submitted using ID phil_lor@bigpond.com |
| X-Authority-Analysis | v=2.0 cv=QJDqt33L c=1 sm=1 a=MjWgaz5//csVbyNlFB2lbA==:17 a=pTzqZbqM9tkA:10 a=JDadKst33uMA:10 a=8nJEP1OIZ-IA:10 a=1IlZJK9HAAAA:8 a=1oSx5cS9e30A:10 a=Np5KUnrAygd8Zkc6OEAA:9 a=wPNLvfGTeEIA:10 a=MjWgaz5//csVbyNlFB2lbA==:117 |
| Date | Thu, 21 Feb 2013 09:30:18 +1000 |
| From | Phil <phil_lor@bigpond.com> |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Read arrow keys |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2134.1361412430.2939.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1361412430 news.xs4all.nl 6889 [2001:888:2000:d::a6]:34065 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:39388 |
Show key headers only | 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
Read arrow keys Phil <phil_lor@bigpond.com> - 2013-02-21 09:30 +1000
csiph-web