tkinter root size code example
Example 1: python gui size
root.geometry('69x420')
Example 2: set window size tkinter
# Change window_name to the name of the window object, i.e. root
window_name.geometry("500x500")
# To ensure widgets resize:
widget_name.pack(fill="both", expand=True)
Example 3: how to set the size of a gui in python
win.geometry("250x250")