zipfile doesn't compress very good, are there other solutions?
__peter__ at web.de
Thu Jun 11 15:33:56 EDT 2009
Stef Mientki wrote:
> Peter Otten wrote:
>> Stef Mientki wrote:
>>> I packed all sources with zipfile,
>>> but the compression doesn't seem to be very good.
>> If you don't specify the compression, the files are not compressed at
>> all. Just in case you didn't know...
> .. and would you be willing to tell me how I could set the compression (
> at maximum) ?
According to the documentation (hint, hint) there is only on and off.
zipfile.ZipFile(filename, "w", compression=zipfile.ZIP_DEFLATED)
More information about the Python-list