python-CSD-kursu/python-temel/dict.open.3.py

4 lines
84 B
Python

with open('test.2.csv') as f:
a = [line[:-1].split(',') for line in f]
print(a)