Cómo hacer la detección de llave en Python
import keyboard, time
# Continuously check if 'c' key is pressed
while True:
if keyboard.is_pressed('c'):
print('The c key was pressed')
Shy Seahorse