msvcrt.getch() not working within IDLE

John Bedal jbedal at hotmail.com
Thu Oct 26 08:53:44 EDT 2000


Thanks,

Is there a popular alturnative method to capturing keyboard input character
by character, I think th e input method is just a little to basic :-)
-john
"Joe Smith" <JoeSmith at bogusaddress.com> wrote in message
news:39F7CA9A.27C96C8A at bogusaddress.com...
>
> I would expect these calls to fail in a GUI program because I suspect
(don't
> feel like researching it) that they get input from a console window only
not
> from a GUI program.  These calls are also windows specific, you might want
to
> look at other calls that are platform independent.
>
> John Bedal wrote:
>
> > Does msvcrt.getch() not work within the IDLE/Win98? it continuosly
returns
> > chr(255)
> >
> > Even msvcrt.kbhit() always returns false.  Is there something I am doing
> > wrong?
> >
> > -John
>





More information about the Python-list mailing list