yanivk1984
8/24/2019 - 8:28 AM

csv python

import csv

# ---Read the file---
exampleFile = open(r'file.csv')  # Open the csv file
exampleReader = csv.reader(exampleFile)  # convert to a list

for row in exampleReader:
    print(row)