using csv module how to read perticular lines in csv

Solutions on MaxInterview for using csv module how to read perticular lines in csv by the best coders in the world

showing results for - "using csv module how to read perticular lines in csv"
Alex
04 Oct 2016
1with open("test.csv", "rb") as infile:
2    r = csv.reader(infile)
3    for i in range(8): # count from 0 to 7
4        next(r)     # and discard the rows
5    row = next(r)