get length of csv file with python

59

get length of csv file with python -

input_file = open("nameOfFile.csv","r+")
reader_file = csv.reader(input_file)
value = len(list(reader_file))

Comments

Submit
0 Comments