python key down

89

python key down -

import keyboard  # using module keyboard

if keyboard.is_pressed('e'):  # if key 'e' is pressed 
	print("you're holding the E key!")

Comments

Submit
0 Comments