Закрыть окно Tkiinter
from tkinter import *
# creates the window
root = Tk()
root.mainloop()
# Puts root running in background
root.quit()
Lucas Vinícius Guedes da Silva
from tkinter import *
# creates the window
root = Tk()
root.mainloop()
# Puts root running in background
root.quit()
from tkinter import *
# creates the window
root = Tk()
root.mainloop()
# vanish out the root window (don't go background)
root.destroy()