Closed ghost closed 9 years ago
Probably best thing to do here would be to store it in a CSV. Easy reading/writing for machines & humans, likely some module for Python to help writing & escaping (only quotes really need to be escaped, though)
Commas don't need escaping. Enclose each column in quotes and you've escaped almost every character already. I think a CSV file would be better than having colons between fields. More standardised.
File access needs rewrite so escaping etc. can be added