On Tue, Nov 17, 2009 at 9:28 AM, Dave Angel wrote:
> I'm pretty sure that the ZIP format uses independent compression for each
> contained file (member). You can add and remove members from an existing
> ZIP, and use several different compression methods within the same file. So
> the adaptive t
Glenn Maynard wrote:
I want to do something fairly simple: read files from one ZIP and add
them to another, so I can remove and replace files. This led me to a
couple things that seem to be missing from the API.
zip.write() only takes the filename and
compression method, not a ZipInfo; wri
Diez B. Roggisch wrote:
Glenn
Maynard schrieb:
I want to do something fairly simple: read files from one ZIP and add
them to another, so I can remove and replace files. This led me to a
couple things that seem to be missing from the API.
The correct approach is to copy the data directly, s
Glenn Maynard schrieb:
I want to do something fairly simple: read files from one ZIP and add
them to another, so I can remove and replace files. This led me to a
couple things that seem to be missing from the API.
The simple approach would be to open each file in the source ZIP, and
hand it off
I want to do something fairly simple: read files from one ZIP and add
them to another, so I can remove and replace files. This led me to a
couple things that seem to be missing from the API.
The simple approach would be to open each file in the source ZIP, and
hand it off to newzip.write(). Ther