from tkinter import * root = Tk() root.maxsize(height, width) root.minsize(height, width) #(69, 420) root.mainloop()