Re.'Compressing folders in Windows using Python'
Tim N. van der Leeuw
tim.leeuwvander at nl.unisys.com
Mon Jan 2 09:24:53 EST 2006
Using gzip means you can compress only 1 file per gzip; so you'll have
to invent something like tar to put all your files in your directories
together into 1 file and then apply gzip on that file to get it
compressed...
Using the zipfile module should allow you to create a standard
winzip-compatible archive that puts all files directly into 1
compressed archive.
cheers,
--Tim
More information about the Python-list
mailing list