title: Python text file in string to dictionary
body: <p>I am trying to convert a text file into a dictionary in python. </p>
  
  <p>The text file looks like this:</p>
  
  <pre><code>Age      Sex
  ------------
  GT20      M
  LT20      F
  </code></pre>
  
  <p>I want it to display as <code>(Age: GT20, LT20) (Sex: M,F)</code><br>
  Is there a way to do this in python?</p>