> len(reader) gives me an error. Apologies. len(list(reader)) should work. Of course, you'll wind up loading the entire CSV file into memory. You might want to just count row-by-row:
n = 0 for row in reader: n += 1 Skip -- http://mail.python.org/mailman/listinfo/python-list