Polling the keyboard (detect a keypress) in python Polling the keyboard (detect a keypress) in python python python