[python-win32] zip of file using python

Tim Roberts timr at probo.com
Fri Apr 9 00:16:42 CEST 2010


a h wrote:
> thanks... i tried compression as zipfile.ZIP_DEFLATED and it works
> fine. Now i used WinRar software to compress a 1.5GB file, it results
> into a 42MB file where as using my script it results into 62 MB file.
> Is it because of different format, if so, is there any winrar lib or
> equivalent lib for python.

WinRar uses a proprietary compression scheme that does a little better
in some cases, but cannot be read by standard tools like unzip.

Seriously, it doesn't really matter, does it?

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list