Przycisk wyjścia Pythona
from tkinter import *
root = Tk()
button = Button (root, text="Exit", command=root.destroy)
button.pack()
root.mainloop()
gamermj223
from tkinter import *
root = Tk()
button = Button (root, text="Exit", command=root.destroy)
button.pack()
root.mainloop()