zlib Error -3

DeepBleu DeepBleu at DeepBleu.org
Mon Jan 7 22:05:43 CET 2002

I tried
>>> import zipfile
and then?
Wait a minute, do not tell me :)
I have to create an instant using ZipFile.
Back to the drawing board.  I think I got it.

"Andrew Kuchling" <akuchlin at mems-exchange.org> wrote in message
news:3dofk5dh18.fsf at ute.mems-exchange.org...
> "DeepBleu" <DeepBleu at DeepBleu.org> writes:
> > >>> zlib.decompress("c:\\test.zip")
> You want the zipfile module, not the zlib module which implements just
> the low-level compression algorithm.  The above line is trying to
> decompress the actual string data c:\test.zip, which obviously isn't
> going to work.
> --amk

More information about the Python-list mailing list