Hi all: I am trying to write a program to listen for keystrokes and run functions based on which keys are pressed! This is what I have: import msvcrt while True: if msvcrt.kbhit(): key = msvcrt.getch() print(key) # just to show the result Thanks All!