body, but not his spirit...'
- Original Message -
From: "Tim Roberts"
To: "Python-Win32 List"
Sent: Tuesday, July 05, 2011 9:20 PM
Subject: Re: [python-win32] More relating to catching cursor keystrokes in
command line
Jacob Kruger wrote:
The following seems to actuall
Jacob Kruger wrote:
> The following seems to actually work relatively consistently after just a bit
> of testing:
> #bit of code sample
> while True:
> sKey = msvcrt.getwch()
> if str(ord(sKey)) == "77":
> #end of code sample
>
> And then on this windows7 machine, the following are the strin
The following seems to actually work relatively consistently after just a bit
of testing:
#bit of code sample
while True:
sKey = msvcrt.getwch()
if str(ord(sKey)) == "77":
#end of code sample
And then on this windows7 machine, the following are the strings that seem to
match:
72 = up
75 =