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