tornado debug mode

application = tornado.web.Application([
(r"/", MainHandler),
(r'/imgs/(.*)',tornado.web.StaticFileHandler,{'path':'./imgs'}),
],debug=True)

posted @ 2013-10-24 09:57  Epirus  阅读(419)  评论(0编辑  收藏  举报