Help from someone with new PKWare zip program

Scott David Daniels Scott.Daniels at Acm.Org
Fri Aug 15 18:11:52 EDT 2003


Scott David Daniels wrote:
> PKWare has specified a new compression method (ZIP_BZIP2=12) for .zip
> files.... I thought I'd try to teach the zipfile module to read and 
 > write ZIP_BZIP2 compression as well as its current ZIP_DEFLATE format.
> 
> If there is somebody out there with a copy of the PKWare program,
> I'd like a small ZIP file compressed with that format, in order to
> verify that I correctly produce / consume such files.  Once I trust
> my code is correct, I'll release it.
> 
> -Scott David Daniels
> Scott.Daniels at Acm.Org

I forgot to explain: the .zip format (which is what the 'zipfile'
module produces and consumes) is an archive file format -- it stores
the data for multiple files in a single file.  What I'm looking to
do is interoperably read and write .zip format files using the
stronger 'bz2' compression within the .zip file for compression of
individual files within the archive, not for compression of the
entire archive as a single unit.

-Scott David Daniels
Scott.Daniels at Acm.Org





More information about the Python-list mailing list