Try adapting the other posters example with something like:
import Image, StringIO
zip=zipfile.ZipFile(inURL,mode="r")
picture=zip.read("00.jpg")
image = Image.open(StringIO(picture))
image.thumbnail ((128,128), Image.ANTIALIAS)
image.save (file + '.thumb.png')I haven't tested it, but something like this should work. -- http://mail.python.org/mailman/listinfo/python-list
