+ 1
How to get arrow keys input in python?
3 Respostas
+ 4
To do so in python needs to use libraries or some coding. Read this, to get an overwiew:
https://stackoverflow.com/questions/13207678/whats-the-simplest-way-of-detecting-keyboard-input-in-python-from-the-terminal
https://stackoverflow.com/questions/292095/polling-the-keyboard-detect-a-keypress-in-python
+ 2
Do you mean this: >>> ?
+ 1
Lothar I meant how to know if the user pressed up arrow key or down arrow key
And respond to it accordingly.