title: How do I convert a .tsv to .csv?
body: <p>Trying to convert a .tsv to a .csv.  This:</p>
  
  <pre><code>import csv
  
  # read tab-delimited file
  with open('DataS1_interactome.tsv','rb') as fin:
      cr = csv.reader(fin, delimiter='\t')
      filecontents = [line for line in cr]
  
  # write comma-delimited file (comma is the default delimiter)
  with open('interactome.csv','wb') as fou:
      cw = csv.writer(fou, quotechar='', quoting=csv.QUOTE_NONE)
      cw.writerows(filecontents)
  </code></pre>
  
  <p>Gives me this error:</p>
  
  <pre><code>  File "tsv2csv.py", line 11, in &lt;module&gt;
      cw.writerows(filecontents)
  _csv.Error: need to escape, but no escapechar set
  </code></pre>