from tornado.wsgi import WSGIContainer from tornado.httpserver import HTTPServer from tornado.ioloop import IOLoop from flask import Flask app = Flask(__name__) http_server = HTTPServer(WSGIContainer(app)) http_server.listen(5000) IOLoop.instance().start()