> Is there something like glib's main loop available for use > with Python? This depends on the GUI toolkit and/or exactly what you want to do. win32gui.PumpWaitingMessages() or PumpMessages() does run a message loop, but that may or may not be what you are after. Mark.