Hello I have a question for python. Even if I write codes like that if I click F5 there is no image. What happend?
class Spring(Frame):
def __init__(self, master):
Frame.__init__(self, master)
Frame.configure(self)
Label(self, text="spring", font=('Helvetica', 18, "bold")).pack()
Button(self, text="go back to selection page?",
command=lambda: master.switch_frame(StartPage3)).pack()
beauty=PhotoImage(file='beauty.png')
Label(self, image=beauty).pack()