[Tutor] lists and strings
chris.arndt at web.de
Tue Nov 8 22:45:45 CET 2005
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:
Also, xmlrpclib.py from the Standard library contains functions to serialize
basic Python data types to XML according to the XML-RPC specification.
More information about the Tutor