title: Saving a downloaded CSV file using Python
body: <p>I want to download a csv file from a link with request and save it as <code>MSFT.csv</code>.
  However, my code return error</p>
  
  <blockquote>
    <p>File "&lt; stdin >", line 1, in 
    _csv.Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?</p>
  </blockquote>
  
  <pre><code>import requests
  import csv
  
  data=requests.get('https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&amp;symbol=MSFT&amp;apikey=demo&amp;datatype=csv'
  cr = csv.reader(data)
  
  for row in cr:
      print row
  </code></pre>
  
  <p>How can I save it with <code>MSFT.csv</code>?</p>