title: How to write a list of list into excel using python?
body: <p>How to write a list of list into excel using python 3?</p>
  
  <pre><code>new_list = [[&quot;first&quot;, &quot;second&quot;], [&quot;third&quot;, &quot;fourth&quot;]]
  with open(&quot;file_name.csv&quot;, 'w') as f:
      fc = csv.writer(f, lineterminator='\n')
  fc.writerows(new_list)
  </code></pre>
  <p>I can write this list into <code>csv</code> file but How canI want to write in excel file?</p>