2008/8/27 Jon Clements <joncle at googlemail.com>: >> len(list(csv.reader(open('my.csv')))) > Not the best of ideas if the row size or number of rows is large! > Manufacture a list, then discard to get its length -- ouch! I do try to avoid premature optimization. ;-) -- Cheers, Simon B.