Created
July 23, 2011 15:39
-
-
Save lawlesst/1101560 to your computer and use it in GitHub Desktop.
Simple csv reader.
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
import sys | |
import csv | |
csv_file = csv.DictReader(open(sys.argv[1])) | |
for row in csv_file: | |
print row['bluebook'], row['journal'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment