On Thu, Jun 11, 2009 at 12:11 PM, Stef Mientki<stef.mien...@gmail.com> 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) ?
If you had glanced @ the docs for 30 seconds: import zipfile z = zipfile.ZipFile(dest_file, "w", zipfile.ZIP_DEFLATED) Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list