0

I have a program written in python and it could really use a script that can run at anytime during the main program running if a certain key is pressed.

If possible could this be done with a built-in so the user does not need to install modules

meep
  • 23
  • 3
  • Does this answer your question? [How to detect key presses?](https://stackoverflow.com/questions/24072790/how-to-detect-key-presses) – wovano Oct 17 '22 at 09:12
  • If you only want to use the standard library, see the [library reference](https://docs.python.org/3/library/index.html) to check if such function exists. – wovano Oct 18 '22 at 10:30

0 Answers0