Created
August 20, 2012 19:04
-
-
Save cluelesscoder/3406761 to your computer and use it in GitHub Desktop.
Python test file opening
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 | |
testreader = csv.DictReader(open('C:/Documents and Settings/BJCREASY.SOA/Desktoptestcsv.csv', ''), dialect='excel') | |
for row in testreader: | |
print row | |
# if row['SERFF'] == csv.reader.next().row['SERFF'] | |
# print 'Success' | |
# else: | |
# csv.reader.next() | |
# row1 = testreader.row | |
# row2 = csv.reader.next() | |
# if row2 == csv.reader.next() | |
# row3 = csv.reader.next() | |
raw_input() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment