I want to read a single character from the keyboard (like BASIC GET, FORTH KEY or C getchar. It looks as if to do this with python I have to load a package and extract a module from this. Surely there is an easier way? Can't I just read stdin?
Asked
Active
Viewed 54 times
0
-
take a look at [getch()](http://code.activestate.com/recipes/134892/) – LPH Dec 27 '13 at 12:24
-
Are you looking for something like this? [http://stackoverflow.com/questions/9203067/listening-to-keyboard-events-without-trapping-them][1] [1]: http://stackoverflow.com/questions/9203067/listening-to-keyboard-events-without-trapping-them – Bruno Finger Dec 27 '13 at 12:25