def resize(self, width, height):
        SetWindowPos(self._hwnd, None, 0, 0, width, height, SWP_NOMOVE)
Change window size
dataset/ETHPy150Open asweigart/pyautogui/pyautogui/_window_win.py/Window.resize