From: William James Date: 2007-09-13T00:15:17+09:00 Subject: Re: CVS parsing, counting rows and row items On Sep 12, 9:05 am, Max Russell wrote: > I have some CSV data which looks like the following (it is the output > from the RMTrack defect management tool): > > Column titles: > Issue # Date & Time Opened Summary Created by User Assigned To > Resolution Date & Time Closed > > example data: > 1074 16/05/2006 Something is broken import bob Ignore 26/03/2007 > 1807 17/07/2006 Another thing doesn't work rsmith hmaguire Ignore > 27/03/2007 CSV stands for comma-separated values. Where are the commas? To get the number of lines in a file: IO.readlines('my_file').size