Hello,
I following an example on how to zip files from the www.devshed.com
site.
I can create a zip package, however I am not getting any compression.
120M file stays 120M within the zip package.
I need to know how to set or activate the compression values.
here is the code I'm using:
[color=blue]
>import zipfile
>zip = zipfile.ZipFile ('<path/zipfilename.zip >', 'w')
>zip.write('<pa th/filename.txt>')
>zip.close()[/color]
Any help would be gratly appreciated
deej
I following an example on how to zip files from the www.devshed.com
site.
I can create a zip package, however I am not getting any compression.
120M file stays 120M within the zip package.
I need to know how to set or activate the compression values.
here is the code I'm using:
[color=blue]
>import zipfile
>zip = zipfile.ZipFile ('<path/zipfilename.zip >', 'w')
>zip.write('<pa th/filename.txt>')
>zip.close()[/color]
Any help would be gratly appreciated
deej
Comment