title: Python loop delay without time.sleep()
body: <p>In an MMO game client, I need to create a loop that will loop 30 times in 30 seconds (1 time every second).
  To my greatest disappointment, I discovered that I can not use <code>time.sleep()</code> inside the loop because that causes the game to freeze during the loop.</p>
  
  <p>The loop itself is pretty simple and the only difficulty is how to delay it.</p>
  
  <pre class="lang-py prettyprint-override"><code>limit = 31
  while limit &gt; 0 :
    print "%s seconds remaining" % (limit)
    limit = limit -1
  </code></pre>
  
  <p>The python libs exist in the client as .pyc files in a separate folder and I'm hoping that I can avoid messing with them.
  Do you think that there is any way to accomplish this delay or is it a dead end?</p>