William James
9/12/2007 3:10:00 PM
On Sep 12, 9:05 am, Max Russell <thedoss...@gmail.com> 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