0

I would like to replicate this code, but on a raspberry pi. It imports for windows. Does anyone know of a library or anything that could help?

https://stackoverflow.com/questions/13564851/how-to-generate-keyboard-events-in-python

  • i think that you want how to generate keyboard events in linux – jsotola Jul 13 '18 at 3:17
  • @jsotola Probably. That's actually a good idea to research. – tom smith Jul 13 '18 at 4:03
  • Have you tried the second answer's suggestion? pyautogui is supposed to be portable to Linux (which you're probably using on your Pi). – Aurora0001 Jul 13 '18 at 15:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.