+ 2

Python arrow keys input

Is it possible to control input with arrow keys on python?

24th Sep 2017, 4:20 PM
Jack
Jack - avatar
1 Answer
+ 9
Depending on what exactly you mean by this, I would say so. You can read from the keyboard in so many different ways than by input()... Interactive-programming-oriented modules usually take care of that - pygame, tkinter and more - they all have key event-based methods implemented, able to act on-the-go to key presses (including arrows of course).
24th Sep 2017, 8:24 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar