FAQ
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.htm>

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedJan 21, '09 at 8:06a
activeJan 21, '09 at 8:06a
posts1
users1
websitepython.org

1 user in discussion

AON LAZIO: 1 post

People

Translate

site design / logo © 2022 Grokbase