Re: List to Text back to List

2008-11-07 Thread SimonPalmer
On Nov 6, 8:33 pm, Chris Rebert [EMAIL PROTECTED] wrote: On Thu, Nov 6, 2008 at 12:18 PM, SimonPalmer [EMAIL PROTECTED] wrote: On Nov 6, 8:11 pm, Chris Rebert [EMAIL PROTECTED] wrote: On Thu, Nov 6, 2008 at 12:04 PM, SimonPalmer [EMAIL PROTECTED] wrote: Hi, I am looking for a way to

List to Text back to List

2008-11-06 Thread SimonPalmer
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

Re: List to Text back to List

2008-11-06 Thread Chris Rebert
On Thu, Nov 6, 2008 at 12:04 PM, SimonPalmer [EMAIL PROTECTED] wrote: 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

Re: List to Text back to List

2008-11-06 Thread SimonPalmer
On Nov 6, 8:11 pm, Chris Rebert [EMAIL PROTECTED] wrote: On Thu, Nov 6, 2008 at 12:04 PM, SimonPalmer [EMAIL PROTECTED] wrote: 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

Re: List to Text back to List

2008-11-06 Thread Chris Rebert
On Thu, Nov 6, 2008 at 12:18 PM, SimonPalmer [EMAIL PROTECTED] wrote: On Nov 6, 8:11 pm, Chris Rebert [EMAIL PROTECTED] wrote: On Thu, Nov 6, 2008 at 12:04 PM, SimonPalmer [EMAIL PROTECTED] wrote: Hi, I am looking for a way to convert a List of floating point numbers to and from text. I am

Re: List to Text back to List

2008-11-06 Thread Arnaud Delobelle
SimonPalmer [EMAIL PROTECTED] writes: I looked at pickle, but the problem is that I want my XML to be readable by languages other than python, so it sort of precludes it. JSON would be perfect, but I think the module only exists in 2.6, is that right? Unfortunately I am bound to 2.4.

Re: List to Text back to List

2008-11-06 Thread Aaron Brady
On Nov 6, 2:18 pm, SimonPalmer [EMAIL PROTECTED] wrote: On Nov 6, 8:11 pm, Chris Rebert [EMAIL PROTECTED] wrote: On Thu, Nov 6, 2008 at 12:04 PM, SimonPalmer [EMAIL PROTECTED] wrote: Hi, I am looking for a way to convert a List of floating point numbers to and from text.  I am

Re: List to Text back to List

2008-11-06 Thread John Machin
On Nov 7, 7:04 am, SimonPalmer [EMAIL PROTECTED] wrote: 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