Created
May 26, 2014 02:38
-
-
Save navicore/477ebcea1007fa53cc41 to your computer and use it in GitHub Desktop.
csv with python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import csv | |
with open('filename.csv', 'rb') as f: | |
reader = csv.reader(f) | |
for row in reader: | |
print "%s --- %s" % (row[0], row[1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment