()
return (int(pt.x), int(pt.y))
Read the cursor position on screen.
    Returns:
        (x, y) coordinates as a tuple.
        None if it can't be detected.
Read the cursor position on screen.
    Returns:
        (x, y) coordinates as a tuple.
        None if it can't be detected.
Read the cursor position on screen . Returns : ( x y ) coordinates as a tuple . None if it can t be detected .
def get_cursor_pos():
    """Read the cursor position on screen.
    Returns:
        (x, y) coordinates as a tuple.
        None if it can't be detected.
    """
    pt = _POINT()
    ctypes.windll.user32.GetCursorPos(ctypes.byref(pt))
    return (int(pt.x), int(pt.y))
def get_cursor_pos ( ) : pt = _POINT ( ) ctypes . windll . user32 . GetCursorPos ( ctypes . byref ( pt ) ) return ( int ( pt . x ) , int ( pt . y ) )