Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python exit button

from tkinter import *

root = Tk()

button = Button (root, text="Exit", command=root.destroy)
button.pack()

root.mainloop()
 
PREVIOUS NEXT
Tagged: #python #exit #button
ADD COMMENT
Topic
Name
1+1 =