On Sat, 28 May 2005, Servando Garcia wrote:

>               How do I read the comments attached to a zipfile or for
> any file .?

Someone's on riddle 6!  :-)

    z = zipfile.ZipFile(zipfilename, mode='r')
    zi = z.getinfo(zfilename)
    print zi.comment


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to