Jak zmienić rozmiar Windows w Python

import pygetwindow
win = pygetwindow.getWindowsWithTitle('Notepad')[0]
win.size = (640, 400)
Star