xxxxxxxxxx
from win32gui import FindWindow, MoveWindow
hwnd = FindWindow(None, 'Window Title')
xSize, ySize = 322, 546
MoveWindow(hwnd, 0, 0, xSize, ySize, True)
xxxxxxxxxx
from tkinter()
root = Tk()
root.title("Resize window")
root.geometry("500x500")