Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python press key to break

 if keyboard.is_pressed('q'):  # if key 'q' is pressed 
            print('You Pressed A Key!')
            break  # finishing the loop
 
PREVIOUS NEXT
Tagged: #python #press #key #break
ADD COMMENT
Topic
Name
6+8 =