[Tkinter-discuss] displaying an image
Michael O'Donnell
michael.odonnell at uam.es
Thu Oct 4 21:11:26 CEST 2012
You need to install PIL to use the tutorial you are doing.
http://www.pythonware.com/products/pil/
PIL has some advantages to built in images within TKinter,
especially if you are wanting to manipulate images rather than
just display them
Mick
>> Hi Matthew,
>>
>> Your first line should in fact be:
>>
>> from PIL import Image
>>
>> ...then your line:
>>
>> my_image = Image.open("imagepath.jpg")
>>
>> Mick
>
> it gave me an ImportError saying no module named PIL
More information about the Tkinter-discuss
mailing list