tornado.platform.twisted — Run code written for Twisted on Tornado

This module contains an implementation of the Twisted Reactor built on the Tornado IOLoop. This lets you run applications and libraries written for Twisted in a Tornado application. To use it, simply call install at the beginnging of the application:

import tornado.platform.twisted

from twisted.internet import reactor

Installs this package as the default Twisted reactor.

Previous topic

tornado.database — Simple MySQL client wrapper

Next topic

tornado.websocket — Bidirectional communication to the browser

This Page