In this post you will learn how to resize tkinter window.
Python Code:
1 2 3 4 5 6 7 8 9 | import tkinter window = tkinter.Tk() # creating the window object window.title('my first GUI program') window.minsize(width=600, height=500) # makes the window 500*600 window.mainloop() # keeping the window until we close it |
Output:
