best way to display photos

7stud bbxx789_05ss at
Tue Aug 25 06:14:44 CEST 2009

On Aug 24, 8:01 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> samwyse <samw... at> writes:
> > My big question is, what's the
> > best way to display the photos.  I've used PIL in the past, but IIRC
> > it uses an external program.  Pygame is the next obvious choice, but
> > like PIL it requires an add-in.  That leaves Tkinter.  Has anyone used
> > it to display .JPG files, perhaps with rescaling to fit my screen?
> I've displayed images with tkinter -- I remember there is some kind of
> trick you have to do to prevent them from being gc'd prematurely but
> I've forgotten the specifics.  

You store the images in a list or dictionary.

More information about the Python-list mailing list