python:程序猿的方式在元宵佳节之际,带你设计【东方明珠】动画浪漫烟花秀(python编程利用Tkinter+PIL库)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_41185868/article/details/87711599

python:程序猿的方式在元宵佳节之际,带你设计【东方明珠】动画浪漫烟花秀(python编程利用Tkinter+PIL库)

设计动画展示


 

设计思路

核心代码

    theLabel=tk.Label(root,text="2019年正月十五,元宵佳节之际,Jason Niu带你观看【东方明珠】浪漫烟花秀!") 

    cv = tk.Canvas(root, height=400, width=600)
    photo = ImageTk.PhotoImage(image)
 
    cv.create_image(0, 0, image=photo, anchor='nw')
    cv.pack()

猜你喜欢

转载自blog.csdn.net/qq_41185868/article/details/87711599