So ändern Sie die Größe der Fenster in Python
import pygetwindow
win = pygetwindow.getWindowsWithTitle('Notepad')[0]
win.size = (640, 400)
Star
import pygetwindow
win = pygetwindow.getWindowsWithTitle('Notepad')[0]
win.size = (640, 400)