A completely silly question

Peter Hansen peter at engcorp.com
Fri Dec 17 14:00:03 EST 2004


Amir Dekel wrote:
> What I need from the program is to wait for a single character input, 
> something like while(getchar()) in C. 

Try the "msvcrt" module if you are on Windows.

If you are not, remember to specify your platform next time
you ask a question...

> All those Python modules don't 
> make much sence to me...

That's going to make it hard to program in Python, I suspect.
Maybe it would be helpful to run through the tutorial, or
spend more time reading the docs.

-Peter



More information about the Python-list mailing list