This topic created in 4319 days ago, the information mentioned may be changed or developed.
application = tornado.web.Application([
(r"/", MainHandler),
('"r/xx',XxxooHandler),
....
])
增加一个handler就得更新这个配置
是不是程序在启动的时候会把这些对应的类文件都加载进来 ?
1 replies 2014-06-30 20:25:53 +08:00  | | 1 ss098 Jun 30, 2014 是的,你 import 这个文件后就开始加载了 |