I\'m new to python and having issues with the CSV parser. Here is the code:
import urllib2 import csv u = urllib2.urlopen(r\'http://finance.yahoo.com/d/quotes.
csv.reader factory takes as its first argument a list or other iterable iterable of lines, not the full string with line breaks in it (which it will just iterate over by character). Use data = u.readlines() instead of data = u.read().
csv.reader
data = u.readlines()
data = u.read()