Shantanoo Mahajan schrieb:
> +++ Hugo Gonz?lez Monteverde [08-11-05 13:13 -0600]:
> | Hi Mike,
> | 
> | Converting an (almost)arbitrary object into a string is what the Pickle 
> module does. CPickle is faster. Take 
> | a look into into it in the docs.
> | 
> 
> Is there a way to dump the varialble in XML format and retrive it?

Look for xml_pickle.py in http://gnosis.cx/download/Gnosis_Utils-current.tar.gz

and see the article on it here:
http://gnosis.cx/publish/programming/xml_matters_1.txt

Also, xmlrpclib.py from the Standard library contains functions to serialize
basic Python data types to XML according to the XML-RPC specification.

Chris
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to