dict open example 3

This commit is contained in:
Mert Gör ☭ 2023-08-24 13:48:20 +03:00
parent dfa111b206
commit a9fe445fa9
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9
1 changed files with 3 additions and 0 deletions

View File

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