I've been searching the web and StackOverflow for a while now and still can't find an answer to this question. I have an application that I need to set the mouse position for, and I would like it to be cross-platform. I know how to do it in windows:
import ctypes
ctypes.windll.user32.SetCursorPos(x, y)
I need this to work on Linux and OS-X as well. I do not want to install any modules either, just Pure Python. There's something wrong with Pip on my machine and I haven't been able to fix it(but that's a different question).
My question is, how can I make a cross-platform program that allows me to set the mouse cursors position?