Conversation
Notices
-
@cmsj Couldn't you use the pickle module?
Tuesday, 02-Feb-10 09:03:02 UTC from web-
@cmsj: user-editable on disk?
-
@cmsj CPickle I think?
-
@cmsj If you want something built-in to python, the json, pickle, shelve modules may be helpful.
-
@cmsj json (assuming no loops, I guess)?
-
@cmsj If your data is fairly basic, consider using simplejson in python <= 2.5 (just "json" in python 3 and 2.6)
-
@cmsj: yaml and json are good formats for representing it then, but opinions on their user-editability differ.
-
@cmsj sorry for the self-promo, but http://jsonpickle.github.com/ might help if the standard json module is too restricting
-