uncompress base64-gzipped string

Niels Egberts niels.egberts at gmail.com
Sat Jun 13 05:02:20 EDT 2009


On Sat, Jun 13, 2009 at 4:38 AM, John Machin<sjmachin at lexicon.net> wrote:
> | >>> guff[:100]
> | '\x1b\x00\x00\x00\x1b\x00\x00\x00\x1b\x00\x00\x00 [snip]
>
> What a long journey: parse xml, base64 decode, gunzip,
> and you're still not home; next stop is struct.unpack ...
>
> HTH,
> John

Thanks for the help! I dont think I could have done that.

And thanks for the tip on struct.unpack I managed to get a list of
integers to work with.

Niels



More information about the Python-list mailing list