ZLIB decompressing only portion of data

A.M. Kuchling amk at mira.erols.com
Tue Feb 20 19:51:16 EST 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