I have got a car.csv, which has lines like this:
vhigh,vhigh,2,2,small,low,unacc
I want to get:
[vhigh,vhigh,2,2,small,low,unacc].
But with this code
import csv
a = []
with open("car.csv", 'r') as f:
reader = csv.reader(f)
for line in f:
a.append([line]);
I get
['vhigh,vhigh,2,2,small,med,unacc\n'].
Can someone help me?