Tkinter hello world from Tkinter import * root = Tk() w = Button(root, text="Hello World", command=root.quit) w.pack() root.mainloop()