title: Python Read Textfile Formatting
body: <p>I have a textfile containing the following information:</p>
  <pre><code>* A05 A12 A15 A19 A23
  B023 1 0 -1 -- 1
  B221 1 1 0 -1 --
  B260 0 1 1 -1 -1
  B231 0 0 1 1 --
  B456 1 1 -1 1 -1
  
  </code></pre>
  <p>What i'm trying to do is to print and format the data inside this textfile to something like this:</p>
  <pre><code>*    |A05 |A12 |A15 |A19 |A23
  -----|----|----|----|----|---
  B023 |1   |0   |-1  |--  | 1
  B221 |1   |1   | 0  |-1  |--
  B260 |0   |1   | 1  |-1  |-1
  B231 |0   |0   | 1  | 1  |--
  B456 |1   |1   |-1  | 1  |-1
  -----|----|----|----|----|---
  </code></pre>
  <p>How might i go about doing this?</p>