I found this code to be the most helpful to other people:
x, y = win32api.GetCursorPos()
When I run this code, I get an error "NameError: name 'win32gui' is not defined on line ##".
When trying to import the module:
import win32gui
I get an error "ImportError: No module named win32gui on line ##".
I tried running:
pip install win32gui
But it doesn't seem to work. How can I use win32gui?