Nonblocking keyboard input in python Idle windows
aonlazio at gmail.com
Wed Jan 21 09:06:13 CET 2009
I want to solve the problem like this running on Idle python windows
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
However, those methods could not work in Python Idle windows.
Any of you guys know the methods to solve this problem?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list