from tkinter import *
from tkinter.filedialog import askopenfilename
from tkinter.messagebox import showerror
from tkinter.messagebox import askyesno
from tkinter.messagebox import askyesno
from tkinter.messagebox import showwarning
def answer():
showerror("Answer", "Sorry, no answer available")
def callback():
if askyesno('Verify', 'Really quit?'):
showwarning('Yes', 'Not yet implemented')
else:
showinfo('No', 'Quit has been cancelled')
Button(text='Quit', command=callback).pack(fill=X)
Button(text='Answer', command=answer).pack(fill=X)
mainloop()
Subscribe to:
Post Comments (Atom)
-
#these program uses -stream_loop option import os #loop four times os.system("ffmpeg -stream_loop 4 -i output.avi -c copy outputqsa....
-
DATASCIENCE pip install -U pip pip install nmap pip install matplotlib pip install scipy pip install scikit-learn pip install pandas ...
-
import random def add(list1): c=0 for x in list1: c+=x return c def mean(c): result=c/9 return result def median(list1,n)...
No comments:
Post a Comment