[Tutor] slide show won't display the images in right order

Murtog murtog at gmail.com
Wed Oct 12 22:26:06 CEST 2005


The correct code looks like this:

files = os.listdir(<theimagesdirectory>)
files.sort()
x = 0
direction = 1
while True:
ShowImg(files[x]) # An image display function
x += -1


--
Cheers,
Murtog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20051012/3d02ac5a/attachment.htm


More information about the Tutor mailing list