NewBie: How Can I Scan The Keyboard In Python?
jbranthoover at my-deja.com
jbranthoover at my-deja.com
Thu Jan 11 13:29:47 EST 2001
Hello All,
Is there a way to scan the keyboard to watch for a key
closure? I have a function that runs in a infinite loop. I want to
brake out of the loop when the space bar is hit. Is there a way to do
this in Python? Im looking for something like Qbasics Inkey$
function.
Any information will be greatly appreciated. Thank you for
your time and have a nice day.
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list