Skip to content

Instantly share code, notes, and snippets.

@stormsson
Created April 17, 2013 14:10
Show Gist options
  • Save stormsson/5404596 to your computer and use it in GitHub Desktop.
Save stormsson/5404596 to your computer and use it in GitHub Desktop.
Python - Read CSV
# 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