I use Python 3.4. I have a program that provide an integration with COM module in Windows, by win32com package. To process messages from this module I use the pythoncom.PumpWaitingMessages() method in the infinite while loop. But python infinite loop makes 100% CPU core load (as shown in Windows Task Manager). The questions:
Is it real "work" or peculiarity of Windows Task Manager?
How one can avoid that. Maybe by using
asynciomodule or another way?- Is it possible to process messages in another thread or asynchronously with
pythoncom?