title: How to write/create a CSV with fixed width columns?
body: <p>I have columnar data in which a column of data ranges widely in width.
  I would like to display this data in a monospace font, for easy viewing while additionally retaining the capabilities of parsing that data with common csv handlers. </p>
  
  <p><sub>I am willing to accept that a strip/trim operations may need to be done by the parsing lib and I am not worried about leading/trailing white space being preserved.</sub></p>
  
  <p>How can I write a csv with fixed width data columns? Is this possible with the <code>csv</code> module?</p>
  
  <p>In Open/Libre Office terms, this is called "Fixed column width" in the Export Text File options.</p>
  
  <h3>Example</h3>
  
  <pre><code>data = [
      ('Brown Fox Jumps Over', 'Lorem ipsum',),
      ('The Lazy', 'dolor sit amet,',),
      ('Dog', 'consectetur adipiscing elit.',),
  ]
  </code></pre>
  
  <p>Desired output</p>
  
  <pre><code>"Header 1            ", "Header 2                    ",
  "Brown Fox Jumps Over", "Lorem ipsum                 ",
  "The Lazy            ", "dolor sit amet,             ",
  "Dog                 ", "consectetur adipiscing elit.",
  </code></pre>
  
  <p>Chiefly I'm looking for a tool to scan a dataset for its widest values and format then entire column to that width for all columns because <a href="http://en.wikipedia.org/wiki/Reinventing_the_wheel" rel="nofollow">writing one myself</a> inline feels inappropriate.</p>