title: Python - pythoncom.PumpMessages()
body: <p>I'm surprised to see that there is not a lot of explained documentation on the function <code>pythoncom.PumpMessages()</code>, or for the <code>pythoncom</code> module.</p>
  
  <p>So what does <code>pythoncom.PumpMessages()</code> and <code>pythoncom.PumpWaitingMessages()</code>do and how? All I really know about it is used for catching events from input devices.</p>