Wait for a keypress before continuing?
John Doe
jdoe at usenetlove.invalid
Tue Aug 16 14:48:24 EDT 2011
> def wait_for_keystroke():
> char=0
> while not char==0x1B:
> char=msvcrt.getch()
I tried using
while not char==chr(27):
More information about the Python-list
mailing list