View Single Post
  #16  
Old March 11th, 2010, 06:32 PM
djo's Avatar

djo djo is offline
Second Lieutenant
 
Join Date: Mar 2005
Location: west of DC
Posts: 587
Thanks: 6
Thanked 13 Times in 9 Posts
djo is on a distinguished road
Default Re: New HoF brain storm

You might (either for this or some other project) look into JSON as a lightweight persistence format (www.json.org). Your data looks a lot like a dictionary, and JSON will do that fine. There's a parser module in the Python stdlib since 2.6.

I offer this as a tip from another Pythonista, not to try to influence you to change your mind on your current format. I've liked JSON when I wanted something more than key-value but less than XML.

Last edited by djo; March 11th, 2010 at 06:33 PM.. Reason: spelling
Reply With Quote
The Following User Says Thank You to djo For This Useful Post: