Re: delineating by comma where commas inside quotation marks don't count

2007-10-26 Thread Junior
Dan Bishop [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Oct 24, 8:56 pm, Junior [EMAIL PROTECTED] wrote: I want to open a text file for reading and delineate it by comma. I also want any data surrounded by quotation marks that has a comma in it, not to count the commas

Re: delineating by comma where commas inside quotation marks don't count

2007-10-25 Thread Travis Brady
On 10/24/07, Dan Bishop [EMAIL PROTECTED] wrote: On Oct 24, 8:56 pm, Junior [EMAIL PROTECTED] wrote: I want to open a text file for reading and delineate it by comma. I also want any data surrounded by quotation marks that has a comma in it, not to count the commas inside the

delineating by comma where commas inside quotation marks don't count

2007-10-24 Thread Junior
I want to open a text file for reading and delineate it by comma. I also want any data surrounded by quotation marks that has a comma in it, not to count the commas inside the quotation marks if the file testfile.txt contains the following; 5,Tuesday,May is a spring month,Father's Day

Re: delineating by comma where commas inside quotation marks don't count

2007-10-24 Thread Dan Bishop
On Oct 24, 8:56 pm, Junior [EMAIL PROTECTED] wrote: I want to open a text file for reading and delineate it by comma. I also want any data surrounded by quotation marks that has a comma in it, not to count the commas inside the quotation marks Use the csv module. --

Re: delineating by comma where commas inside quotation marks don't count

2007-10-24 Thread equand
On Oct 25, 3:56 am, Junior [EMAIL PROTECTED] wrote: I want to open a text file for reading and delineate it by comma. I also want any data surrounded by quotation marks that has a comma in it, not to count the commas inside the quotation marks if the file testfile.txt contains the