title: python: Read a table from file (created from prettytable) and mantain spaces
body: <p>Let's say I have the following file.txt</p>
  
  <pre><code>$ cat file.txt
  +-----------+------+------------+-----------------+
  | City name | Area | Population | Annual Rainfall |
  +-----------+------+------------+-----------------+
  | Adelaide  | 1295 |  1158259   |      600.5      |
  | Brisbane  | 5905 |  1857594   |      1146.4     |
  | Darwin    | 112  |   120900   |      1714.7     |
  | Hobart    | 1357 |   205556   |      619.5      |
  | Sydney    | 2058 |  4336374   |      1214.8     |
  | Melbourne | 1566 |  3806092   |      646.9      |
  | Perth     | 5386 |  1554769   |      869.4      |
  +-----------+------+------------+-----------------+
  </code></pre>
  
  <p>If I try reading the file like this:</p>
  
  <pre><code>with open('file.txt') as fp:
      lines = fp.readlines()
  </code></pre>
  
  <p>And then I try to display each line using the gtk2.0 textbuffer (similar to print):</p>
  
  <pre><code>for eachline in lines:
      if idx == 0:
          self.textbuffer.delete(start, end)
          end = self.textbuffer.get_end_iter()
          self.textbuffer.set_text(eachline)
      else:
          self.textbuffer.insert(end, eachline)
          end = self.textbuffer.get_end_iter()
  </code></pre>
  
  <p>I get the following output:</p>
  
  <pre><code>+-----------+------+------------+-----------------+
  | City name | Area | Population | Annual Rainfall |
  +-----------+------+------------+-----------------+
  | Adelaide |  1295 |  1158259 |      600.5      |
  | Brisbane  | 5905  |  1857594   |      1146.4     |
  | Darwin   | 112  |   120900   |      1714.7     |
  | Hobart   | 1357 |   205556   |      619.5      |
  | Sydney    | 2058 |  4336374   |      1214.8     |
  | Melbourne  | 1566 |  3806092   |      646.9      |
  | Perth   | 5386 |  1554769   |      869.4      |
  +-----------+------+------------+-----------------+
  </code></pre>
  
  <p>Any suggesstion how to make it look prettier (like the first table) ?</p>
  
  <p>Thanks in advance!</p>