Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #read #csv #file #python
ADD COMMENT
Topic
Name
6+2 =