title: convert a tsv file to xls/xlsx using python
body: <p>I want to convert a file in tsv format to xls/xlsx..</p>
  
  <p>I tried using</p>
  
  <pre><code>os.rename("sample.tsv","sample.xlsx")
  </code></pre>
  
  <p>But the file getting converted is corrupted. Is there any other method of doing it?</p>