Tornado
Tornado is a Python web framework and asynchronous networking library. http://www.tornadoweb.org/en/stable/
Install
Test
1 import tornado.ioloop
2 import tornado.web
3
4 class MainHandler(tornado.web.RequestHandler):
5 def get(self):
6 self.write("Hello, world")
7
8 application = tornado.web.Application([
9 (r"/", MainHandler),
10 ])
11
12 if __name__ == "__main__":
13 application.listen(8888)
14 tornado.ioloop.IOLoop.instance().start()
