> When I use:
> files = os.listdir(<theimagesdirectory>)

Have you tried printing 'files'?
Are they in order there?

> it doesn't display the images in the right order! It will skip from
> ga050123.gif and go to ga050120.gif!

I suspect listdir doesn't use name order.
You probably need to do a sort() on the files list.

hth,

Alan G
Author of the learn to program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld



_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to