set geometry python tkinter code example Example: tkinter geometry root=Tk() root.geometry('200x150')