with open("test.csv", "rb") as infile: r = csv.reader(infile) for i in range(8): # count from 0 to 7 next(r) # and discard the rows row = next(r)