Answers for "python 2.7 read a csv file"

0

how to read a csv file in python

import csv
with open('some.csv', newline='') as f:
    reader = csv.reader(f)
    for row in reader:
        print(row)
Posted by: Guest on May-14-2021

Python Answers by Framework

Browse Popular Code Answers by Language