Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python exit button

from tkinter import *

root = Tk()

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

root.mainloop()
Comment

PREVIOUS NEXT
Code Example
Python :: python import text file 
Python :: decisiontreeclassifier sklearn 
Python :: how to spread an array in python 
Python :: python print os platform 
Python :: cv show image python 
Python :: df shift one column 
Python :: hello worldpython 
Python :: pyspark create empty dataframe 
Python :: python hour from datetime 
Python :: mouse in pygame 
Python :: load saved model pyspark 
Python :: find index of null values pandas 
Python :: matplotlib wrap title 
Python :: python get all file names in a dir 
Python :: PySpark get columns with missing values 
Python :: how to make a query for not none value in django 
Python :: how to check if a string ends with a substring python 
Python :: downgrade pip 
Python :: print time python 
Python :: how to split channels wav python 
Python :: pip install ffmpeg 
Python :: print whole dataframe python 
Python :: python xor two bytes 
Python :: python datetime minus days 
Python :: python sorted descending 
Python :: values outside range pandas 
Python :: how to open file explorer in python 
Python :: matplotlib plot dpi 
Python :: pandas dataframe column rename 
Python :: detect stop codon 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =