win32ui.StartDebuggerPump
StartDebuggerPump()
Starts a recursive message loop, waiting for an application close message.
Comments
This function is used by the debugger. It allows the debugger to interact with the user, even while the Python code is stopped. As the Python code may be responding to a Windows Event, this function works around the inherent message queue problems.