ZLIB decompressing only portion of data

A.M. Kuchling amk at mira.erols.com
Wed Feb 21 01:51:16 CET 2001


On Tue, 20 Feb 2001 17:52:23 -0500, mkx at excite.com <mkx at excite.com> wrote:
>str=dco.decompress(os.read(fd,16384))

zlib often buffers data internally; try adding 'str = str + dco.flush()'
and see if you get more output.  

--amk



More information about the Python-list mailing list