title: How to write list of lists to CSV file Python?
body: <p>I have a list of lists like <code>[('a', 'b', 'c'), ('d', 'e', 'f'),....]</code>. I want to write it to a CSV file like this- </p>
  
  <pre><code>a,   b,   c
  d,   e,   f
  </code></pre>
  
  <p>How do I do that?</p>
  
  <p>I've tried using csv.writerows but the output file had each character in different cells and all together in same row. In the sense, the cells in row one had '   a   '   '   b   ' etc.</p>
  
  <p>Thanks.</p>