Nonblocking keyboard input in python Idle windows
AON LAZIO
aonlazio at gmail.com
Wed Jan 21 03:06:13 EST 2009
Hi,
I want to solve the problem like this running on Idle python windows
The problem:
the program continue printing 1,2,3,4,5.... until it receives the
input 'enter' from keyboard then it stops printing
this could be done using msvcrt.kbhit() and msvcrt.getch() on command prompt
windows
However, those methods could not work in Python Idle windows.
Any of you guys know the methods to solve this problem?
Thanks in advance.
Aonlazio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090121/a942859c/attachment.html>
More information about the Python-list
mailing list