I searched online and all of the answers I found didn't help me. I found this code to be the most helpful to other people:
x, y = win32api.GetCursorPos()
But when I run it, it says "NameError: name 'win32gui' is not defined on line ##"
Why doesn't it work? Should I import a module? I tried to do this:
import win32gui
And it says it's not a module. ("ImportError: No module named win32gui on line ##")
When I searched online I saw that IT IS in fact a module so... what happend?