Ask coding questions

← Back to all posts
Can pyautogui be used in repl?
SelectionStereo (3)

I know it seems counter intuitive, since the code runs on a Linux machine on a server far away, but is there any loophole that will let me install pyautogui and control keystrokes from my own PC with it? Has anyone tried it?


heyitsmarcus (350)

There is a package in the Package Manager (right hand side -> Cube shape) for pyautogui. I've never used it before, but that sounds like a nifty thing to try out!

heyitsmarcus (350)

@heyitsmarcus Just tried using the pyautogui package and even importing xlib and it looks doesn't support grabbing the display from the command line. You can run this from your local machine, however.