-1
我看過很多教程都嘗試過它們,但似乎Pygame,PIL,Tkinter沒有任何效果。這可能是因爲我的,當然,引起我是個greenie ...如何在Python中打開圖像?
from Tkinter import *
root = Tk()
photo = PhotoImage(file="too.jpg")
label = Label(root, image=photo)
label.pack()
root.mainloop()
這裏已經討論過很多次了。 –
[如何在Tkinter(Python 2.7)中添加圖像]可能的重複](http://stackoverflow.com/questions/10133856/how-to-add-an-image-in-tkinter-python-2-7) –