On Sat, Jun 13, 2009 at 4:38 AM, John Machin 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 thi
I'm creating a game in python and I want to a level editor called
'tiled'. It ouputs a .xml file with base64-gzipped information. Then
every 4 bytes represents a number. See the following link:
http://www.mapeditor.org/wiki/Examining_the_map_format
To start I tried:
code =
base64.b64decode("H4sI