List to Text back to List

SimonPalmer simon.palmer at gmail.com
Thu Nov 6 15:04:34 EST 2008


Hi, I am looking for a way to convert a List of floating point numbers
to and from text.  I am embedding it in an XML document and am looking
for a neat way to serialise and de-serialise a list from a text node.
I can easily write something to do it manually but I wondered whether
List had native support to go to and from text.

If not List, are there any other collections/arrays that do this?

TIA
Simon



More information about the Python-list mailing list