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