I am writing a program that stores data in a dictionary object, but this data needs to be saved at some point during the program execution and loaded back into the dictionar
The json module is a good solution here. It has the advantages over pickle that it only produces plain text output, and is cross-platform and cross-version.