Answer the question
In order to leave comments, you need to log in
How can I find out the key pressed in linux using python?
All the best! Sorry for a possibly dumb question, but maybe someone can suggest a small library for getting information about the pressed key outside the console?
I plan to write a small script that, when a certain button is pressed, launches a certain command.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question