How to close a Tkinter window by pressing a Button?,window.destroy()