its all good, but how do i unzip a file using that?? I can zip using zipfile.write, what and hwo do I use zipfile .read, I get an infolist and a name list and then do a read but what good are bytes to me.... :) TIA AM Chris Withers wrote:
douwe@oberon.nl wrote:
I would like to return a zip file from zope. I found a file zipfile152.py as part of ZipFolder, but the ZipFolder product itself seems to only support uploading of zip files. I would like to do the opposite. Any other suggestions?
Load at python's zipefile module and write an external method?
http://www.python.org/doc/current/lib/module-zipfile.html
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ================================================================== Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231 ================================================================== "I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================