from tkinter import * def play(): root = Tk() root = Tk() Img = PhotoImage(file="vvert.png") photo= Label(root, image=Img).pack() Button(root, text="play",fg="blue",command=play).pack() ButtonQuit=Button(root, text="Quit", fg="red",command=root.destroy).pack() root.mainloop()