2008/8/27 SimonPalmer <[EMAIL PROTECTED]>:
> anyone know how I would find out how many rows are in a csv file?
>
> I can't find a method which does this on csv.reader.

len(list(csv.reader(open('my.csv'))))

-- 
Cheers,
Simon B.
[EMAIL PROTECTED]
http://www.brunningonline.net/simon/blog/
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to