Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
900 views
in Technique[技术] by (71.8m points)

keyboard - Detect if any has been pressed in Python

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?

question from:https://stackoverflow.com/questions/65851350/detect-if-any-has-been-pressed-in-python

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...