title: Align columns in a text file
body: <p>I have a plain text file that contains user login data:</p>
  <pre class="lang-none prettyprint-override"><code>dtrapani  HCPD-EPD-3687  Mon  05/13/2013    9:47:01.72
  dlibby  HCPD-COS-4611  Mon  05/13/2013    9:49:34.55
  lmurdoch  HCPD-SDDEB-3736  Mon  05/13/2013    9:50:38.48
  lpatrick  HCPD-WIN7-015  Mon  05/13/2013    9:57:44.57
  mlay  HCPD-WAR-3744  Mon  05/13/2013  10:00:07.94
  eyoung  HCPD-NLCC-0645  Mon  05/13/2013  10:03:01.83
  </code></pre>
  <p>I'm trying to print the data in left- and right-aligned columns:</p>
  <pre class="lang-none prettyprint-override"><code>dtrapani  HCPD-EPD-3687    Mon  05/13/2013    9:47:01.72
  dlibby    HCPD-COS-4611    Mon  05/13/2013    9:49:34.55
  lmurdoch  HCPD-SDDEB-3736  Mon  05/13/2013    9:50:38.48
  lpatrick  HCPD-WIN7-015    Mon  05/13/2013    9:57:44.57
  mlay      HCPD-WAR-3744    Mon  05/13/2013   10:00:07.94
  eyoung    HCPD-NLCC-0645   Mon  05/13/2013   10:03:01.83
  </code></pre>
  <p>How can I do this?</p>
  <p>This is the code I have so far:</p>
  <pre><code>with open(r'C:\path\to\logons.txt', 'r') as f:
      for line in f:
          data = line.strip()
          print(data)
  </code></pre>