make a tkinter button which closes the form code example Example: python tkinter how to close a window root.destroy()