+ 1
It sounds like you want to learn how to read and write JSON formatted data in Python 3.
There are a few options but the built-in package for the job is "json". Import the json package and you can use json.dumps to convert Python data structures to JSON-formatted strings. You can use json.loads to do the reverse and convert JSON-formatted strings to data structures.
More detail is at:
https://docs.python.org/3/library/json.html



