Created
February 16, 2015 11:27
-
-
Save martincox/88a13aa5ffc5dfddb708 to your computer and use it in GitHub Desktop.
Iterate CSV
This file contains hidden or 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
import csv | |
with open('file.csv') as input: | |
lines = csv.reader(input, delimiter='\t') | |
for line in lines: | |
print line[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment