[Twisted-Python] win32eventreactor

Thomas Heller theller at python.net
Wed Feb 12 15:35:34 EST 2003

How can I access the reactor if I want to use the win32eventreactor?
It seems I have to win32eventreactor.install() before importing
the reactor from twisted.internet, otherwise I get a traceback
saying AssertionError: reactor already installed.

Is this the recommended way to do it:

from twisted.internet import win32eventreactor
from twisted.internet import reactor

... other stuff

Thanks, Thomas

More information about the Twisted-Python mailing list