How to create an if statement when a user presses a particular keyboard key in python [duplicate]
I am trying to create a program that when it detects a key is pressed, for example "c" on a keyboard, the program stops a infinite loop. This should take the form of a if statement and be in python. How would I do this?
Aucun commentaire:
Enregistrer un commentaire