遇到的问题:160129.debug设置为True 浏览器仍然无法更新修改
import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello8, !") self.render("home.html") settings = {‘debug‘ : True} if __name__ == "__main__": application = tornado.web.Application([ (r"/", MainHandler), ],**settings) application.listen(8888) tornado.ioloop.IOLoop.current().start()
时间: 2024-12-14 18:12:19