I have this script to load CSV data to 2D array ( I hope... :) )
with open("csv") as textFile:
lines = [line.strip().split(",") for line in textFile]
Also I can get all data with this, or only some bite of data
print (lines)
print (lines[0][0])
However, I can't get all data with for loop, any idea ?
>>> for i in range (0,3):
... for j in range (0,3):
... print (lines([i][j])
...
...
...
lines?csv.readerto read the rows of data into your list.enter?