For example, I have a dictionary like this:
d = {'Name': 'Jone', 'Job': 'Boss', 'From': 'England', (and many many more...)}
As you can see, this dictionary is very very long. so I can display it in my code like this:
a = {'Name': 'Jone',
'Job': 'Boss',
'From': 'England',
(and many many more...)}
But when I using json.dumps to save this dictionary in a file, it will display as one line. So it's hard to check and edit.
So how can I save a dictionary use json in more line, and load that? use str.split when load and dump?