Tornado 4.5 Documentation
Tornado [http://www.tornadoweb.org] is a Python web framework and asynchronous networking library, originally developed at FriendFeed [http://friendfeed.com]. By using non-blocking network I/O, Tornado Hello, world Here is a simple “Hello, world” example web app for Tornado: import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello write("Hello, world") def make_app(): return tornado.web.Application([ (r"/", MainHandler), ]) if __name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current()0 码力 | 333 页 | 322.34 KB | 1 年前3Tornado 5.1 Documentation
Tornado [http://www.tornadoweb.org] is a Python web framework and asynchronous networking library, originally developed at FriendFeed [http://friendfeed.com]. By using non-blocking network I/O, Tornado Hello, world Here is a simple “Hello, world” example web app for Tornado: import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello write("Hello, world") def make_app(): return tornado.web.Application([ (r"/", MainHandler), ]) if __name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current()0 码力 | 359 页 | 347.32 KB | 1 年前3Tornado 5.1 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5.2 Web framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . support 227 Python Module Index 229 i ii Tornado Documentation, Release 5.1.1 Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking example web app for Tornado: import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello, world") def make_app(): return tornado.web.Application([0 码力 | 243 页 | 895.80 KB | 1 年前3Tornado 4.5 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.2 Web framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . support 207 Python Module Index 209 i ii Tornado Documentation, Release 4.5.3 Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking example web app for Tornado: import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello, world") def make_app(): return tornado.web.Application([0 码力 | 222 页 | 833.04 KB | 1 年前3Tornado 6.1 Documentation
Tornado [https://www.tornadoweb.org] is a Python web framework and asynchronous networking library, originally developed at FriendFeed [https://en.wikipedia.org/wiki/FriendFeed]. By using non-blocking Hello, world Here is a simple “Hello, world” example web app for Tornado: import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello write("Hello, world") def make_app(): return tornado.web.Application([ (r"/", MainHandler), ]) if __name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current()0 码力 | 931 页 | 708.03 KB | 1 年前3Tornado 6.0 Documentation
Tornado [http://www.tornadoweb.org] is a Python web framework and asynchronous networking library, originally developed at FriendFeed [http://friendfeed.com]. By using non-blocking network I/O, Tornado Hello, world Here is a simple “Hello, world” example web app for Tornado: import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello write("Hello, world") def make_app(): return tornado.web.Application([ (r"/", MainHandler), ]) if __name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current()0 码力 | 869 页 | 692.83 KB | 1 年前3Tornado 6.1 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6.2 Web framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Python Module Index 231 Index 233 i ii Tornado Documentation, Release 6.1 Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking example web app for Tornado: import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello, world") def make_app(): return tornado.web.Application([0 码力 | 245 页 | 904.24 KB | 1 年前3Tornado 6.0 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6.2 Web framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Python Module Index 231 Index 233 i ii Tornado Documentation, Release 6.0.4 Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking example web app for Tornado: import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello, world") def make_app(): return tornado.web.Application([0 码力 | 245 页 | 885.76 KB | 1 年前3Tornado 6.2 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6.2 Web framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Python Module Index 245 Index 247 i ii Tornado Documentation, Release 6.2 Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking example web app for Tornado: import asyncio import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello, world") def make_app(): return tornado.web.Application([0 码力 | 260 页 | 1.06 MB | 1 年前3Tornado 6.2 Documentation
Tornado [https://www.tornadoweb.org] is a Python web framework and asynchronous networking library, originally developed at FriendFeed [https://en.wikipedia.org/wiki/FriendFeed]. By using non-blocking Hello, world Here is a simple “Hello, world” example web app for Tornado: import asyncio import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello write("Hello, world") def make_app(): return tornado.web.Application([ (r"/", MainHandler), ]) async def main(): app = make_app() app.listen(8888) await asyncio.Event().wait() if __name__0 码力 | 407 页 | 385.03 KB | 1 年前3
共 20 条
- 1
- 2