read csv file as array python code example
Example: python read csv into array
import csv
items = []
with open('file.csv') as csvfile:
csvReader = csv.reader(csvfile)
for row in csvReader:
items.append(row[0])
print(items)