title: how to indent all the columns in a file using python
body: <p>I wanted to align all the strings in each column of a file in a particular order using a python script.  I have described the problem and the possible outcome using a sample scenario.</p>
  
  <pre><code>#sample.txt
  
  start() "hello"
  appended() "fly"
  instantiated() "destination"
  do() "increment"
  logging_sampler() "dummy string"
  </code></pre>
  
  <p>Output scenario</p>
  
  <pre><code>#sample.txt(indented)
  
  start()           "hello"
  appended()        "fly"
  instantiated()    "destination"
  do()              "increment"
  logging_sampler() "dummy string"
  </code></pre>
  
  <p>So is there any python library that can process a file and provide the above indentation? 
  Is there any general solution such that if I have a file with more that 2 columns and I can still indent all the columns in the same manner?</p>