zlib.decompress cannot, gunzip can
enrio at online.no
enrio at online.no
Tue Mar 1 03:31:59 EST 2005
Thanks, now the code is
from cStringIO import StringIO
from gzip import GzipFile
...
body = GzipFile('','r',0,StringIO(body)).read()
Regards, Enrique
More information about the Python-list
mailing list