title: Print list to csv file in Python3
body: <p>I have a list like this.</p>
  
  <pre><code>all_chords = [['C', 'C', 'E', 'G'],
   ['CM7', 'C', 'E', 'G', 'B'],
   ['C7', 'C', 'E', 'G', 'Bb'],
   ['Cm7', 'C', 'Eb', 'G', 'Bb'],
   ['Cm7b5', 'C', 'Eb', 'Gb', 'Bb'],
   ['Cdim7', 'C', 'Eb', 'Gb', 'Bbb(A)'],
   ['Caug7', 'C', 'E', 'G#', 'Bb'],
   ['C6', 'C', 'E', 'G', 'A'],
   ['Cm6', 'C', 'Eb', 'G', 'A'],
  ]
  </code></pre>
  
  <p>I want to print out to a csv file, something like this.</p>
  
  <p>C_chords.csv</p>
  
  <pre><code>C;C,E,G
  CM7;C,E,G,B
  C7;C,E,G,Bb
  Cm7;C,Eb,G,Bb
  Cm7b5;C,Eb,Gb,Bb
  Cdim7;C,Eb,Gb,Bbb(A)
  Caug7;C,E,G#,Bb
  C6;C,E,G,A
  Cm6;C,Eb,G,A
  </code></pre>
  
  <p>It has two fileds which are separted by semicolon. (not by a comma)</p>
  
  <p>I used csv module, like this.</p>
  
  <pre><code>myfile = open('C_chords.csv','w')
  wr = csv.writer(myfile, quotechar=None)
  wr.writerows(all_chords)
  myfile.close()
  </code></pre>
  
  <p>The result is..</p>
  
  <pre><code>C,C,E,G
  CM7,C,E,G,B
  C7,C,E,G,Bb
  Cm7,C,Eb,G,Bb
  Cm7b5,C,Eb,Gb,Bb
  Cdim7,C,Eb,Gb,Bbb(A)
  Caug7,C,E,G#,Bb
  C6,C,E,G,A
  Cm6,C,Eb,G,A
  </code></pre>
  
  <p>Should I modify the list? Somewhat like this?
  [['C',';', 'C', 'E', 'G'],.......]</p>
  
  <p>or any other brilliant ideas do you guys have?</p>
  
  <p>Thanks in advance.</p>