A label and a button
import sys, Tkinter Tkinter.Label(text="Welcome!").pack() Tkinter.Button(text="Exit", command=sys.exit).pack() Tkinter.mainloop()