Created
April 17, 2013 14:10
-
-
Save stormsson/5404596 to your computer and use it in GitHub Desktop.
Python - Read 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 | |
def readCsv(path): | |
csvfile = open(path,'rb') | |
reader = csv.reader(csvfile) | |
# salto la prima riga | |
#reader.next() | |
for row in reader: | |
#do stuff | |
csvfile.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment