from Ewindow import * root = tk.Tk() root.maxsize(800,600) ewin_build(root) root.mainloop()