Catching a key press

2007-07-23 Thread westymatt
How would I implement a trap for catching the up arrow from the keyboard? -- http://mail.python.org/mailman/listinfo/python-list

Re: Catching a key press

2007-07-23 Thread westymatt
This is without a gui toolkit. This is going to be implemented on console i/o -- http://mail.python.org/mailman/listinfo/python-list

Re: Catching a key press

2007-07-23 Thread thebjorn
On Jul 23, 9:05 am, westymatt [EMAIL PROTECTED] wrote: This is without a gui toolkit. This is going to be implemented on console i/o If you're on windows, you'll need the kbhit() and getch() functions in the msvcrt module. The up arrow returns two separate keyboard- hits (with ordinal value

Re: Catching a key press

2007-07-23 Thread westymatt
linux primarily still a little lost in how to implementent this, however I understand what you are saying. -- http://mail.python.org/mailman/listinfo/python-list

Re: Catching a key press

2007-07-23 Thread Petr Jakes
On 23 ec, 14:23, westymatt [EMAIL PROTECTED] wrote: linux primarily still a little lost in how to implementent this, however I understand what you are saying. maybe you can use this: http://tinyurl.com/2zyfmw HTH Petr Jakes -- http://mail.python.org/mailman/listinfo/python-list