Tornado入门(一)

安装Tornado pip install tornado 1.创建hello.py文件 上代码 import tornado.web import tornado.ioloop class IndexHandler(tornado.web.RequestHandler): """主路由处理类""" def get(self): """对应http的get请求方式
相关文章
相关标签/搜索