title: How do I download a .csv file I created in Python?
body: <p>I've created a .csv file using this code in a Python shell (<a href="https://stackoverflow.com/a/21872153/2532070">https://stackoverflow.com/a/21872153/2532070</a>):</p>
  
  <pre><code>mylist = ['''list_of_strings''']
  
  import csv
  
  with open('filename', 'wb') as myfile:
      wr = csv.writer(myfile, quoting=csv.QUOTE_ALL)
      wr.writerow(mylist)
  </code></pre>
  
  <p>How do I then download the 'myfile' csv to my machine so I can email it as a .csv attachment? Thanks!</p>