I'm still quite a noob to Python, and am completely stumped by this.
I cannot find what is wrong with that.
Yes, i've imported msvcrt.
The application will open, and do absolutely nothing at all. Will not register anything.
??
Edited by White Fire - 8/2/12 at 12:59pm
Code:
def keyStroke():
keyValue = msvcrt.getch()
if keyValue == ("/r"):
print ("Pressed Enter!")
x=1
while x!=2:
keyStroke()
I cannot find what is wrong with that.
Yes, i've imported msvcrt.
The application will open, and do absolutely nothing at all. Will not register anything.
??
Edited by White Fire - 8/2/12 at 12:59pm










