Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

read csv as list python

import csv

with open('file.csv', newline='') as f:
    reader = csv.reader(f)
    data = list(reader)

print(data)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #csv #list #python
ADD COMMENT
Topic
Name
2+5 =