title: Export a table in CSV file
body: <p>I have generated a table with the powers of 2 and their logarithm in base 2 in the following way:</p>
  
  <pre><code>import math
  x = 2.0
  while x &lt; 100.0:
      print x, '\t', math.log(x)/math.log(2)
      x = x + x
  </code></pre>
  
  <p>How can I export this table in a CSV file with each element that matches exactly one cell?</p>