def zpickle(data):
 return zlib.compress(pickle.dumps(data, pickle.HIGHEST_PROTOCOL))

def zpickle ( data ) : return zlib . compress ( pickle . dumps ( data , pickle . HIGHEST_PROTOCOL ) )
given any data structure .