jpeg files displayed in a loop

Alex Martelli aleax at
Tue Dec 11 09:03:28 EST 2001

"Wolfgang Teschner" <wtr at> wrote in message
news:rp8a1u82me3g8v8ievtfjve9llbodq6rau at
> Hi,
> I want to automatically display all jpeg files of a dir in a long
> loop, with a wait time between the different displays. Just that.
> No user input.
> With PIL, it seems to be impossible because of TKinters mainloop.

Why impossible?  Doesn't Tkinter's "after()" method provides just
what you need -- sheduling some action (in your case, moving to
the next image) for X seconds from now?


More information about the Python-list mailing list