Python arrow keys input | Sololearn: Learn to code for FREE!

+2

Python arrow keys input

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

9/24/2017 4:20:16 PM

Jack

1 Answer

New 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).