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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to