Quote:
Originally Posted by Coma 
\r is a carriage return, not /r. "/r" is a two character string. getch() returns a single character, and your if checks if that character is equal to "/r". which is never true.
Why are you using getch? You shouldn't use DLLs directly unless you have a very good reason. Use raw_input instead...

Code:
if keyValue == ("/r"):
Why are you using getch? You shouldn't use DLLs directly unless you have a very good reason. Use raw_input instead...
+1 on the raw_input... these DLL's seem to only like console...







