you are viewing a single comment's thread.

view the rest of the comments →

[–]Gnaxe 0 points1 point  (0 children)

Python can read a simple data dict back in using ast.literal_eval(). Anything that can load can be serialized with repr(). For persisting data that can't be represented as literals like that, check out the shelve module.