title: async wait / non blocking wait in python
body: <p>i like to output each letter of a string after waiting some time, to get a typewriter effect.</p>
  
  <pre><code>for char in string:
       libtcod.console_print(0,3,3,char)
       time.sleep(50)
  </code></pre>
  
  <p>But this blocks the main thread, and the program turns inactive. <br>
  You cant access it anymore until it finishes<br>
  <em>Note: <a href="http://doryen.eptalys.net/libtcod/" rel="nofollow">libtcod</a> is used</em></p>