背景图片:
import tkinter
win=tkinter.Tk()
photo=tkinter.PhotoImage(file=r"C:\Users\Desktop\1.gif")
label=tkinter.Label(win,image=photo) #图片
label.pack()
win.mainloop()
import tkinter
win=tkinter.Tk()
label=tkinter.Label(win,text="hello world",
font=("华文彩云",260),
fg="yellow",
bg="blue") #背景颜色
label.pack()
win.mainloop()