title: Set minimum length of a list?
body: <p>I have a list in Python. I don't know exactly how long it is, but I know it's less than 15 items long.</p>
  
  <p>I want to pad it out to exactly 15 items long, appending empty strings for all the items that I need to add.</p>
  
  <p>Is there an efficient way to do this in Python? </p>
  
  <p>I was hoping:</p>
  
  <pre><code>myarr = myarr[:15]
  </code></pre>
  
  <p>might work, but it doesn't.</p>
  
  <p>Currently I have:</p>
  
  <pre><code>if len(myarr) &lt; 15:
      for i in range(15 - len(myarr)):
          myarr.append('')
  </code></pre>
  
  <p>Any more compact suggestions?</p>