close method tkinter in python code example
Example 1: how to manually close tkinter window
root = tk()
root.destroy()
Example 2: how to kill tkinter
root=Tk()
root.destroy()
root = tk()
root.destroy()
root=Tk()
root.destroy()