Created
August 21, 2012 19:02
-
-
Save cluelesscoder/3418362 to your computer and use it in GitHub Desktop.
Python 2 testing DictReader
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 csv | |
import re | |
# testreader = csv.DictReader(open('C:/Documents and Settings/' | |
# 'BJCREASY.SOA/Desktop/test2.csv', 'rb')) | |
with open('C:/Documents and Settings/' | |
'BJCREASY.SOA/Desktop/test2.csv', 'rb') as f: | |
reader = csv.reader(f) | |
for row in reader: | |
print row |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment