Best way to have intermediate object description format
jm.suresh@no.spam.gmail.com
jm.suresh at gmail.com
Fri Nov 3 01:11:01 EST 2006
Hi,
Is there any standard text format for storing data of object oriented
nature.
The text file should be readable.
That is, Is there any better way than having to write out a file like
this from the original place and read it in python and process it.
#----------------------------
world = World(name='MyWorld')
world.objects.append(Box(color='red'))
world.objects.append(Circle(color='green'))
world.someProp = "123"
#-----------------------------
Thanks.
Suresh
More information about the Python-list
mailing list