[Tkinter-discuss] displaying an image
Michael O'Donnell
michael.odonnell at uam.es
Thu Oct 4 19:29:50 CEST 2012
Hi Matthew,
Your first line should in fact be:
from PIL import Image
...then your line:
my_image = Image.open("imagepath.jpg")
Mick
On Thu, Oct 4, 2012 at 7:16 PM, Matthew Ngaha <chigga101 at gmail.com> wrote:
>
> im trying to display an image. Ive tried different code from several
> tutorials but they seem outdated and nothing works. here's 1 line that
> makes me give up.
>
>
>
> this line returns an error of Image doesnt have attribute open, yet
> this is what my tutorial has shown me. can anyone please help?
>
> any new tkinter tutorials around?
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
--
Not sent from my iPhone
More information about the Tkinter-discuss
mailing list