variable length of %s with the % operator in python
<p>I'm trying to do this:</p>

<pre><code>max_title_width = max([len(text) for text in columns])

for column in columns:
    print "%10s, blah" % column
</code></pre>

<p>But I want to replace the <code>10</code> with the value of <code>max_title_width</code>.  How do I do this in the most pythonic way possible?</p>
