Warning: Illegal string offset 'type' in [path]/includes/class_postbit.php(294) : eval()'d code on line 65
New HoF brain storm - .com.unity Forums
.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Multiplayer and AARs

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
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:
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:36 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.