#tkinter for Python 3.x #Tkinter for Python 2.x import tkinter tkTop = tkinter.Tk() tkButtonQuit = tkinter.Button(tkTop, text="Quit", command=tkTop.quit) tkButtonQuit.pack() tkinter.mainloop()