Skip to content

Instantly share code, notes, and snippets.

@lawlesst
Created July 23, 2011 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lawlesst/1101560 to your computer and use it in GitHub Desktop.
Save lawlesst/1101560 to your computer and use it in GitHub Desktop.
Simple csv reader.
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