(self.root, height=200, width=500)#创建画布
self.image_file = tkinter.PhotoImage(file='welcome_...gif')#加载图片文件
self.image = self.canvas.create_image(0,0, anchor='nw', image=self.image_file)#将图片置于画布上...加载图片文件
self.image = self.canvas.create_image(0,0, anchor='nw', image=self.image_file)#将图片置于画布上
self.canvas.pack...(side='top')#放置画布(为上端)
如果我们需要让自己的界面在美观上加分,大可以试试创建一个画布,也就是下面这个东西
?..., text='Password: ')
这里创建的是一个label,label是什么不明白可以参考上面贴图的“Account:”与“Password:”
.Label(A, B):参数A代表Lable