"mo" <[EMAIL PROTECTED]> wrote:

> I tryed your example:
>
> import msvcrt
> while 1:
>    print '.'
>    if msvcrt.kbhit() and msvcrt.getch() == chr(27):
>         break
>
> but it doesn't work. It is running (Win2000), there is no messages about
> errors but there is no effect when pressing ESC key. What I am doing wrong?

works for me, when running it from a stock CPython interpreter in a windows
console window, with focus set to that window.

what environment are you using?

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to