Python Appuyez sur la touche pour casser

 if keyboard.is_pressed('q'):  # if key 'q' is pressed 
            print('You Pressed A Key!')
            break  # finishing the loop
crizzhd