title: Python csv.DictReader: parse string?
body: <p>I am downloading a CSV file directly from a URL using <code>requests</code>. </p>
  
  <p>How can I parse the resulting string with <code>csv.DictReader</code>?</p>
  
  <p>Right now I have this:</p>
  
  <pre><code>r = requests.get(url)
  reader_list = csv.DictReader(r.text)
  print reader_list.fieldnames
  for row in reader_list:
      print row
  </code></pre>
  
  <p>But I just get <code>['r']</code> as the result of <code>fieldnames</code>, and then all kinds of weird things from <code>print row</code>. </p>