title: Python Format Best Practices
body: <p>I'm just coming up to speed with Python and had a question about best practices (or at least common practices) around using .format on a string.</p>
  
  <p>My question is mostly around when you would use blank curly brackets vs. an index number vs. a name.</p>
  
  <p>For example if you had a single variable that you wanted to include in a string which one would you do?</p>
  
  <pre><code>print "I {} Stack Overflow".format(var)
  print "I {0} Stack Overflow".format(var)
  print "I {verb} Stack Overflow".format(verb = var)
  </code></pre>
  
  <p>Does this change if you have multiple variables you want to include? Maybe it's OK to include {} for a single var, but never for multiple vars?</p>
  
  <p>Any thoughts or insights here would be greatly appreciated.</p>
  
  <p>Thanks!</p>