removing the header from a gzip'd string

Rajarshi rajarshi.guha at gmail.com
Thu Dec 21 16:11:52 EST 2006


Hi, I have some code that takes a string and obtains a compressed
version using zlib.compress

Does anybody know how I can remove the header portion of the compressed
bytes, such that I only have the compressed data remaining? (Obviously
I do not intend to perform the decompression!)

Thanks,




More information about the Python-list mailing list