problem zipping a text file with zlib

DeepBleu DeepBleu at DeepBleu.org
Tue Apr 9 09:31:20 EDT 2002


"Gustavo Niemeyer" <niemeyer at conectiva.com> wrote in message
news:mailman.1018294997.29344.python-list at python.org...
> > I am using a python script and the zlib module to zip two text files
into
> > two separate zip files.  They are zipping fine.  However, when I use
winzip
> [...]
>
> Have you tried using the zipfile module?
>
Yes, I am using zipfile (from zipfile import ZipFile).  Sorry I stated zlib.
Still with one text file in particular, WinZip reports "missing 2 bytes"
DeepBleu

> --
> Gustavo Niemeyer
>
> [ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]
>
>





More information about the Python-list mailing list