0

I have the keyboard library running fine on one mac. On another mac, using the same commands, it runs without error, but there is no output.

Any ideas? Sorry, no code to replicate other than:

pip install keyboard

import keyboard


keyboard.write('hello world')

keyboard.press_and_release('commmand + tab')
Prolle
  • 358
  • 1
  • 10

1 Answers1

0

solved by allowing terminal access in Accessibility

Prolle
  • 358
  • 1
  • 10