def main():
define('port', default=9000, type=int, help='Port on which to listen.')
parse_command_line()
http_server = HTTPServer(WSGIContainer(app))
http_server.listen(options.port)
IOLoop.instance().start()
评论列表
文章目录