win32api.GetCursorPos

int, int = GetCursorPos()

Returns the position of the cursor, in screen co-ordinates.

Win32 API References

Search for GetCursorPos at msdn, google or google groups.