from Tkinter import * root = Tk() frame = Frame(root) myimage = PhotoImage(file="new.gif") b = Button(root) b.config(image= myimage) # or b.image = myimage frame.pack() b.pack() root.mainloop()