Skip to content

Instantly share code, notes, and snippets.

@johnccfm
Created September 25, 2015 13:40
Show Gist options
  • Save johnccfm/57d99721ebec0fbee159 to your computer and use it in GitHub Desktop.
Save johnccfm/57d99721ebec0fbee159 to your computer and use it in GitHub Desktop.
1 2 3
4 5 6
Foo 23 915,as
import csv
in_file = open("test.csv","r")
rdr = csv.reader(in_file)
for row in rdr:
print(row)
['1', '2', '3']
['4', '5', '6']
['Foo', '23', '915,as']
[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment