Re: [Tutor] CSV Ouptut concern...

2011-03-17 Thread Dipo Elegbede
The counter is there so that it limits the iteration to only the first rows, i actually left it there because i used it earlier to print out specific rows. On Thu, Mar 17, 2011 at 2:04 PM, Joel Goldstick wrote: > > > On Thu, Mar 17, 2011 at 8:53 AM, Dipo Elegbede wrote: > >> >> Thanks Tim, that w

Re: [Tutor] CSV Ouptut concern...

2011-03-17 Thread Joel Goldstick
On Thu, Mar 17, 2011 at 8:53 AM, Dipo Elegbede wrote: > > Thanks Tim, that worked like magic. > > I now have another challenge on the same file, in this case, i am trying to > extract just a column as PARTY, I successfully wrote the header but instead > of having each element in a single excel blo

Re: [Tutor] CSV Ouptut concern...

2011-03-17 Thread Dipo Elegbede
Thanks Tim, that worked like magic. I now have another challenge on the same file, in this case, i am trying to extract just a column as PARTY, I successfully wrote the header but instead of having each element in a single excel block like this: A ACD ACN ACPN AD ADC ALP ANPP APGA APS ARP BNPP CA

Re: [Tutor] CSV Ouptut concern...

2011-03-17 Thread Tim Golden
On 17/03/2011 11:56, Dipo Elegbede wrote: i wrote a code for extracting information from a csv file into another csv file. it worked well but i have an immediate challenge i can't seem to fix. the new file that is created has an row and then an empty row and then a row all through the file. how c

[Tutor] CSV Ouptut concern...

2011-03-17 Thread Dipo Elegbede
i wrote a code for extracting information from a csv file into another csv file. it worked well but i have an immediate challenge i can't seem to fix. the new file that is created has an row and then an empty row and then a row all through the file. how can i make the empty rows not be part of the