Reputation: 31
I am trying to do a python script and while the script is running in the background I want it to listen at some buttons, the problem is that I can't even this simple program to get to work, I get segmentation fault 11. When I run it I use sudo python3 prog.py
.
import keyboard
keyboard.wait('esc')
print("test")
Upvotes: 0
Views: 586
Reputation: 11
Couple of things:
Upvotes: 1