> def wait_for_keystroke(): > char=0 > while not char==0x1B: > char=msvcrt.getch()
I tried using while not char==chr(27): -- http://mail.python.org/mailman/listinfo/python-list
> def wait_for_keystroke(): > char=0 > while not char==0x1B: > char=msvcrt.getch()
I tried using while not char==chr(27): -- http://mail.python.org/mailman/listinfo/python-list