How can i start at a line with a csv file in python? -


import glob import csv  open('last30daysdisabled.csv') f:      reader = csv.reader(f)      line in reader:         print(line) 

how go turning list?

use enumerate() can have line number below, default count start starting 0, can force starting 1:

for line_number, line in enumerate(reader,start=1):     if line_number > 3:         print(line) 

Comments