RE: [Zope] Comma delimited file and the re python object
The simplest solution in my experience has been to interpret csv as "circumflex separated value" instead of "comma separated value" when creating the file in the first place. How much easier would life be if ASCII had a field separation character? Using commas to separate fields that may contain commas makes no sense. (please excuse the ranting...) Bill
-----Original Message----- From: Max M [mailto:maxm@normik.dk] Sent: Thursday, November 04, 1999 6:52 AM To: Zope@zope.org Subject: [Zope] Comma delimited file and the re python object
I am trying to import a comma delimited ascii file via Python.
naturally the pattern: , will not work as there might be a comma inside the text.
the pattern "," wont work either as there as the numbers are not enclosed in quotes.
There must be a simple pattern doing it right but I cannot seem to figure it out myself.
regards -------------------------------------------------------------- ---------- Max M Rasmussen, New Media Director http://www.normik.dk Denmark e-mail mailto:maxm@normik.dk
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
ScherBi@BAM.com