title: Python loop to run for certain amount of seconds
body: <p>I have a while loop, and I want it to keep running through for 15 minutes. it is currently:</p>
  
  <pre><code>while True:
      #blah blah blah
  </code></pre>
  
  <p>(this runs through, and then restarts. I need it to continue doing this except after 15 minutes it exits the loop)</p>
  
  <p>Thanks!</p>