"Alan Gauld" <[EMAIL PROTECTED]> wrote

>> I import msvcrt (running on Windows) but I cant get it to run.
>> Is ther somewhere a sample I could peek on?
> 

I just noticed the bit about IDLE in the subject.
msvcrt only works in a DOS console it won't work in 
IDLE because IDLE is detecting the keyboard events 
as GUI events within Tkinter. You will need to run 
your code in a command console not IDLE.


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to