python win32 read mouse pos code example
Example 1: python get current mouse position
from pynput.mouse import Button, Controller
mouse = Controller()
current_mouse_position = mouse.position
print(current_mouse_position)
Example 2: python pywin32 get current cursor row
win32gui.GetCursorPos(point)
Example 3: python pywin32 get current cursor row
flags, hcursor, (x,y) = win32gui.GetCursorInfo()