Our First Tkinter Program: a label and a window
from Tkinter import * root = Tk() w = Label(root, text="Hello, world!") w.pack() root.mainloop()