> runpy ??? > from tkinter import * from Tkinter import * #----> Python is case sensitive! > w = button(text="hello", command = "exit") w = Button(text="hello", command="exit") > w.pack() > w.mainloop() Try that. Alan G.