I am getting error while reading a csv file "example.csv", below is the code for the same :
import csv
with open('example.csv') as csvfile:
readCsv=csv.reader(csvfile, delimiter=',')
for row in readCsv:
print row
The error I am getting is :
AttributeError: 'module' object has no attribute 'reader'