Im trying to make a script where every time I press x, it prints y.
When I run the code:
import keyboard
if keyboard.is_pressed('x'):
print ("y")
The console outputs:
raise OSError("Error 13 - Must be run as administrator")
OSError: Error 13 - Must be run as administrator
Thanks!
keyboard
module needs that in OSX. – Shinglesraise OSError
in your code. – Shingles