[Twisted-Python] zserver to twisted migration

Ray Price rprice at collegenet.com
Fri Aug 15 17:09:13 EDT 2003


I am new to Twisted and I'd like to move a few applications from the
Zope Zserver to Twisted.

It is easy to install code within Zserver by adding the following lines
to z2.py:

            #install my own handler
            sys.path.insert(0,"/usr/local/mycode")
            theModule=zhttp_handler('moduleName',"/cgi-bin/")
            hs.install_handler(theModule)

What would be involved in running the above module in twisted?

Thanks,
Ray







More information about the Twisted-Python mailing list