title: How to format uniformly spaced python print statements
body: <p>This will likely be a simple question and have a simple answer.  I have a series of Python3 print statements that I would like to look like shown below when printed to the screen.</p>
  
  <pre><code>test_integer_to_month ................... OK
  test_month_to_integer ................... OK
  test_abbreviated_int_to_month ........... OK
  test_days_in_month ...................... OK
  </code></pre>
  
  <p>Even though the first set of character strings are not the same length, I want the dots to fill the remaining spaces and the OK, statement to end at the same column.  The code I am using looks like this</p>
  
  <pre><code>import sys
  passed = '................... OK'
  failed = '................... FAILED'
  
  print('{:30s}{}'.format('test_integer_to_month', passed))
  print('{:30s}{}'.format('test_month_to_integer', passed))
  print('{:30s}{}'.format('test_abbreviated_int_to_month', passed))
  print('{:30s}{}'.format('test_days_in_month', passed))
  </code></pre>
  
  <p>However, I get the following output</p>
  
  <pre><code>test_integer_to_month         ................... OK
  test_month_to_integer         ................... OK
  test_abbreviated_int_to_month ................... OK
  test_days_in_month            ................... OK
  </code></pre>
  
  <p>Is there a way that I can use a format statement to fill X number of spaces with the <code>'.'</code> such that the line starts one space after the descriptive character string?</p>