Tar for python? Better compressed file archives 'r us?

Richard Jones richard at bizarsoftware.com.au
Mon Dec 17 16:24:26 EST 2001


On Tuesday 18 December 2001 3:43 am, Drew Csillag wrote:
> On Mon, Dec 17, 2001 at 05:40:58PM +1100, Richard Jones wrote:
> > In the meantime, I'm creating the zip file with ZIP_STORED and
> > compressing the result...
> >
> > -rw-rw-r--    1 builder  builder   2635321 Dec 17 16:20 zope.zip.gz
> As to why the .zip.gz is still considerably larger than the tar.gz,
> it's because zip files (this holds for .gz files too) don't compress
> well, if at all because *most* of the redundany has been eliminated
> already [snip algorithm discussion]

Note I said that I used ZIP_STORED. There's no compresssion in the zip file 
before I gzip it. That's why it was odd :)

Thanks for the reader code!


     Richard




More information about the Python-list mailing list