imgBtn = tk.PhotoImage(file='test.png')
tk.Button(image=imgBtn).pack()
tk.mainloop()

转载,来源简书评论,地址:http://www.jianshu.com/p/5c7a1af4aa53

侵删

05-18 20:26