老师,我这个路径不知道为什么报错,因为我以前也是这么放的没有报错,而且这个是相同路径啊,代码在最下面

#coding=utf-8
"""测试label写法,采用面向对象的方式"""
from tkinter import *
from tkinter import messagebox
class Application(Frame):#定义Application类,继承Frame类
def __init__(self,master = None):
super().__init__(master)#调用父类的构造方法
self.master = master
self.pack()#当框架中存放了组件时,就需要调用self.pack()进行组件的摆放
self.creatWidget()
def creatWidget(self):
"""创建组件"""
self.label01 = Label(self,text="baizhan哦",width=10,height=2,
bg="yellow",fg="blue",font=("楷体",25))
self.label01.pack()
self.label02 = Label(self, text="bug好多", borderwidth=5,
relief="groove",justify="center")
self.label02.pack()
global photo#将photo声明为全局变量,如果是局部变量,本算法执行后图像对象销毁,窗口不显示图像
photo = PhotoImage(file="1.gif")
self.label03 = Label(self,image = photo)
self.label03.pack()
if __name__ == "__main__":#若是本程序使用,非被调用
root = Tk()#设置主窗口
root.geometry("400x400+100-100")#设置窗口大小
root.title("一个经典的gui程序类的测试")
app = Application(master = root)
root.mainloop()