I'm trying to print all data from a csv in lowercase, but I'm not having any luck.
Here's what I have so far:
import csv
books = csv.reader(open("books.csv","rb"))
for row in books:
print row
This prints all the content of the csv, but when I add the .lower() function, I get errors.
What am I doing wrong?