What is a good way to detect is any key has been pressed using Python. I can detect a particular key but see no easy and fast way to detect if any key has been pressed. Currently, I am using the keyboard library in Python. Is there is any latency-free way to do this?
2.1m questions
2.1m answers
60 comments
57.0k users