I cant recall if json files have the same limitation; you could save the file as .json or plain text, using a json dict format. Then use json.load to read it into a dict. obviously only works for json compatible types.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.