(self)
Get the coordinates of a window.
Get the coordinates of a window.
Get the coordinates of a window .
def rect(self):
        """Get the coordinates of a window."""
        try:
            return win32gui.GetWindowRect(self.hwnd)
        except win32api.error:
            return (0, 0, 0, 0)
def rect ( self ) : try : return win32gui . GetWindowRect ( self . hwnd ) except win32api . error : return ( 0 , 0 , 0 , 0 )