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