from tkinter import Tk def main(): root = Tk() root.minsize(100, 50) root.maxsize(200, 100) root.geometry('175x175+25+25') # root.attributes('-zoomed', True) # maximze size # root.attributes('-fullscreen', True) # full screen root.mainloop() if __name__ == '__main__': main()