title: How do I write a table to file using python?
body: <p>I have a neat little table using <code>tabulate</code>:</p>
  
  <pre><code>from tabulate import tabulate
  outputList = dictOfOutputs.items()
  table = outputList
  print tabulate(table)
  </code></pre>
  
  <p>How do I print this to a text file?</p>