from tornado.ioloop import IOLoop from tfw.server import TFWServer from tfw.config import TFWENV if __name__ == '__main__': TFWServer().listen(TFWENV.WEB_PORT) IOLoop.instance().start()