I'm having no luck with finding the equivalent Python function that waits for the user to hit a key to execute a procedure. This would be the functional equivalent of the FORTH languge word KEY, or EKEY.
What KEY, or EKEY does is return onto the stack the ASCII value of the key that was pressed. I could then determine if PAGE UP key was hit, for example, so that my function can scroll the screen.
Unfortunately, raw_input() waits for you to hit ENTER.
Can someone help me?