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

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

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 s

formatting a string with thousands separators

2008-09-07 Thread SimonPalmer
anyone recommend a way of formatting floats with comma separators? e.g. 50.00 -> 500,000.00 -- http://mail.python.org/mailman/listinfo/python-list

Re: Python on the web - newby question

2008-09-03 Thread SimonPalmer
On Sep 3, 8:41 pm, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > SimonPalmer a écrit : > > > Apologies in advance if this is either a) the wrong board or b) been > > answered a million times elsewhere, but... > > > I have been given an assignment to get a python

Python on the web - newby question

2008-09-03 Thread SimonPalmer
Apologies in advance if this is either a) the wrong board or b) been answered a million times elsewhere, but... I have been given an assignment to get a python module up and running behind an existing web site. At the moment the rest of the site is developed in PHP but the hosts have said they wi

Re: finding out the number of rows in a CSV file [Resolved]

2008-08-27 Thread SimonPalmer
On Aug 27, 1:15 pm, John Machin <[EMAIL PROTECTED]> wrote: > On Aug 27, 9:54 pm, SimonPalmer <[EMAIL PROTECTED]> wrote: > > > > > On Aug 27, 12:50 pm, SimonPalmer <[EMAIL PROTECTED]> wrote: > > > > On Aug 27, 12:41 pm, Jon Clements <[EMAIL PROTE

Re: finding out the number of rows in a CSV file [Resolved]

2008-08-27 Thread SimonPalmer
On Aug 27, 12:50 pm, SimonPalmer <[EMAIL PROTECTED]> wrote: > On Aug 27, 12:41 pm, Jon Clements <[EMAIL PROTECTED]> wrote: > > > > > On Aug 27, 12:29 pm, "Simon Brunning" <[EMAIL PROTECTED]> > > wrote: > > > > 2008/8/27 SimonPalmer

Re: finding out the number of rows in a CSV file [Resolved]

2008-08-27 Thread SimonPalmer
On Aug 27, 12:41 pm, Jon Clements <[EMAIL PROTECTED]> wrote: > On Aug 27, 12:29 pm, "Simon Brunning" <[EMAIL PROTECTED]> > wrote: > > > 2008/8/27 SimonPalmer <[EMAIL PROTECTED]>: > > > > anyone know how I would find out how many rows are in a

finding out the number of rows in a CSV file

2008-08-27 Thread SimonPalmer
anyone know how I would find out how many rows are in a csv file? I can't find a method which does this on csv.reader. Thanks in advance -- http://mail.python.org/mailman/listinfo/python-list