title: Limit loop to N iterations per minute
body: <p>Could someone please give me some help with limiting a loop to N iterations per minute in Python.</p>
  
  <p>Lets say I have</p>
  
  <pre><code>limit = 5
  for items in recvData:
       # &gt; limit iterations in past minute? -&gt; sleep for 60 seconds from last iterations before proceeding? #
       ... do work ...
  </code></pre>
  
  <p>How would I do the time check / sleeping to give the correct flow. I'm not worried about blocking the executing thread/process while it waits.</p>
  
  <p>Thanks</p>