how to stop window tkinter code example Example: python tkinter close gui window Click to copyfrom tkinter import * root=tk.Tk() root.destroy()