[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

RE: [pygame] Getting input from command line



> The msvcrt module has Windows console I/O routines, including kbhit() 
> (Section 36.2.2 in the Python 2.5 docs). I don't know of any platform 
> independent console routines in Python.
> 
> -- 
> Lenard Lindstrom
> <len-l@xxxxxxxxx>



Yeah it's a shame.

For all who replied. Thanks a lot!
However, I have just rethought how my program works and decided on a slightly less user friendly, but more cross platform solution using raw_input(). It seems to work pretty well on initial tests.

Thanks,
Fiona

<<winmail.dat>>