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