Answers for "tkinter call action to py file"

0

tkinter call action to py file

#!/usr/bin/python
import sys
import os
import Tkinter
import tkMessageBox
top=Tkinter.Tk()

def helloCallBack():
    os.system('SendEmail.py')

B=Tkinter.Button(top,text="hello",command= helloCallBack)
B.pack()
top.mainloop()
Posted by: Guest on July-20-2021

Code answers related to "tkinter call action to py file"

Browse Popular Code Answers by Language