Hi,

I think you can use the 'curses' module to catch the keyboard event.
The name of the method is 'keyname()'.  But I'm afraid curses is not
available on Windows Python, so you may have to be a bit more
imaginative.  I just tried with Python 2.4 on Windows XP.

To leave the while loop, use the 'break' command.

Andy

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to