Tornado 6.0 Documentation
__name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current().start() This example does not use any of Tornado’s asynchronous features; for that see this simple chat 7 is required). The following optional packages may be useful: pycurl [http://pycurl.sourceforge.net] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. Twisted other kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
__name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current().start() This example does not use any of Tornado’s asynchronous features; for that see this simple chat other kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk patterns much simpler. do not run at all unless you await or yield them. Decorated coroutines can start running “in the background” as soon as they are called. Note that for both kinds of coroutines it0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 4.5 Documentation
__name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current().start() This example does not use any of Tornado’s asynchronous features; for that see this simple chat Python 2; Python 3 includes this package in the standard library. pycurl [http://pycurl.sourceforge.net] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. Twisted other kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 5.1 Documentation
__name__ == "__main__": app = make_app() app.listen(8888) tornado.ioloop.IOLoop.current().start() This example does not use any of Tornado’s asynchronous features; for that see this simple chat setup.py install, the following optional packages may be useful: pycurl [http://pycurl.sourceforge.net] is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. Twisted other kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.2 Documentation
other kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk patterns much simpler. do not run at all unless you await or yield them. Decorated coroutines can start running “in the background” as soon as they are called. Note that for both kinds of coroutines it the coroutine runner will not start). Finally, at the top level of a program, if the IOLoop is not yet running, you can start the IOLoop, run the coroutine, and then stop the IOLoop with the IOLoop.run_sync0 码力 | 407 页 | 385.03 KB | 1 年前3
Tornado 6.5 Documentationother kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk patterns much simpler. do not run at all unless you await or yield them. Decorated coroutines can start running “in the background” as soon as they are called. Note that for both kinds of coroutines it the coroutine runner will not start).Finally, at the top level of a program, if the IOLoop is not yet running, you can start the IOLoop, run the coroutine, and then stop the IOLoop with the IOLoop.run_sync0 码力 | 437 页 | 405.14 KB | 3 月前3
Tornado 6.4 Documentation
other kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk patterns much simpler. do not run at all unless you await or yield them. Decorated coroutines can start running “in the background” as soon as they are called. Note that for both kinds of coroutines it the coroutine runner will not start). Finally, at the top level of a program, if the IOLoop is not yet running, you can start the IOLoop, run the coroutine, and then stop the IOLoop with the IOLoop.run_sync0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
other kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk patterns much simpler. do not run at all unless you await or yield them. Decorated coroutines can start running “in the background” as soon as they are called. Note that for both kinds of coroutines it the coroutine runner will not start). Finally, at the top level of a program, if the IOLoop is not yet running, you can start the IOLoop, run the coroutine, and then stop the IOLoop with the IOLoop.run_sync0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
other kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk patterns much simpler. do not run at all unless you await or yield them. Decorated coroutines can start running “in the background” as soon as they are called. Note that for both kinds of coroutines it the coroutine runner will not start). Finally, at the top level of a program, if the IOLoop is not yet running, you can start the IOLoop, run the coroutine, and then stop the IOLoop with the IOLoop.run_sync0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.3 Documentation
other kinds of blocking, consider password hashing functions like bcrypt [http://bcrypt.sourceforge.net/], which by design use hundreds of milliseconds of CPU time, far more than a typical network or disk patterns much simpler. do not run at all unless you await or yield them. Decorated coroutines can start running “in the background” as soon as they are called. Note that for both kinds of coroutines it the coroutine runner will not start). Finally, at the top level of a program, if the IOLoop is not yet running, you can start the IOLoop, run the coroutine, and then stop the IOLoop with the IOLoop.run_sync0 码力 | 423 页 | 398.18 KB | 1 年前3
共 20 条
- 1
- 2













