zlib Error -3

Andrew Kuchling akuchlin at mems-exchange.org
Mon Jan 7 15:48:03 EST 2002


"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