def decode_base64_and_inflate(string):
 return zlib.decompress(base64.b64decode(string), (-15))

def decode_base64_and_inflate ( string ) : return zlib . decompress ( base64 . b64decode ( string ) , ( - 15 ) )
base64 decodes and then inflates according to rfc1951 .