I am trying to use Python to generate automatic mouse movements and clicks etc, however on windows I did this by importing winapi. Is there a way I can do this in raspbian?

Would love a response, thank you!

1 Answer 1


Found one!

You can install 'pyautogui' from pip3 :)

Syntax is really smooth, look it up if you have the same problem as me

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.