PyCDC.GetWindowOrg

x, y = GetWindowOrg()

Retrieves the x- and y-coordinates of the origin of the window associated with the device context.