How is keystroke detection done using Python?
Asked
Active
Viewed 1.2k times
2
-
possible duplicate of [Detect in python which keys are pressed](http://stackoverflow.com/questions/694296/detect-in-python-which-keys-are-pressed) – Brian Neal Jun 10 '10 at 13:30
-
Are you trying to detect system-wide keystrokes? – slezica Nov 21 '10 at 02:15
2 Answers
2
This old discussion in StackOverflow might helpful.
Community
- 1
- 1
Chathuranga Chandrasekara
- 19,894
- 28
- 96
- 137
0
It's not clear from your question what problem you are trying to solve. However, there is a Python FAQ (with a stock answer) that should have you on your way: How do I get a single keypress at a time?.
johnsyweb
- 129,524
- 23
- 177
- 239