PhotoImage problem
- From: jimgardener <jimgardener@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 08:02:17 -0700 (PDT)
hi
I am using Python 2.5.1. In my code i want to use
self.myimage=PhotoImage (file=self.myfile)
so i can create the image in a canvas
self.mycanv.create_image(70,100,image=self.myimg)
it works when i add,
from ImageTk import PhotoImage
but this import caused an error message when i tried to run this in a
friend's linux machine that had python and PIL. Is PhotoImage part of
standard python library?In new versions of python do i have to modify
this import statement in anyway?
thanks
jim
.
- Prev by Date: Re: Getting sorting order
- Next by Date: Re: regex help
- Previous by thread: Jaeger LeCoultre Master Control 1000 Hours - Jaeger LeCoultre Watches
- Next by thread: Fwd: PhotoImage problem
- Index(es):
Relevant Pages
|