It looks like JSON might match the score. It is simple, and it is in the Python standard library .
Perhaps he is not too happy with the tuples:
>>> import json >>> a = ((1,2),(11,22,),(111,222)) >>> print a ((1, 2), (11, 22), (111, 222)) >>> message = json.dumps(a) >>> message '[[1, 2], [11, 22], [111, 222]]' >>> b = json.loads(message) >>> b [[1, 2], [11, 22], [111, 222]]
Regardless of whether you solve this problem.
source share