Skip to content

Instantly share code, notes, and snippets.

@zhangskills
Created December 10, 2014 03:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhangskills/9ebf1fee7ead223f5b95 to your computer and use it in GitHub Desktop.
Save zhangskills/9ebf1fee7ead223f5b95 to your computer and use it in GitHub Desktop.
tornado相关
@zhangskills
Copy link
Author

调试自动重载

settings = {'debug' : True}

 application = tornado.web.Application([
     (r"/", MainHandler),
     ], **settings)

def main():
    server = tornado.httpserver.HTTPServer(application)
    server.listen(8888)
    tornado.ioloop.IOLoop.instance().start()

http://www.udpwork.com/item/3969.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment