finding out the number of rows in a CSV file [Resolved]

TYR a.harrowell at
Wed Aug 27 15:02:48 CEST 2008

Use csv.DictReader to get a list of dicts (you get one for each row,
with the values as the vals and the column headings as the keys) and
then do a len(list)?

More information about the Python-list mailing list