import sysfrom Tkinter import *widget = Button(None, text='Hello widget world', command=sys.exit)widget.pack()widget.mainloop()