Tornado 6.5 DocumentationWORLD Here is a simple “Hello, world” example web app for Tornado: import asyncio import tornado class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello, world") def make_app(): generator as the result of the yield expression. Most asyn- chronous code never touches the Future class directly except to immediately pass the Future returned by an asyn- chronous function to a yield expression def remove_fragment(url): pure_url, frag = urldefrag(url) return pure_url def get_links(html): class URLSeeker(HTMLParser): def __init__(self): HTMLParser.__init__(self) self.urls = [] def handle_starttag(self0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationworld Here is a simple “Hello, world” example web app for Tornado: import asyncio import tornado class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello, world") generator as the result of the yield expression. Most asynchronous code never touches the Future class directly except to immediately pass the Future returned by an asynchronous function to a yield expression remove_fragment(url): pure_url, frag = urldefrag(url) return pure_url def get_links(html): class URLSeeker(HTMLParser): def __init__(self): HTMLParser.__init__(self)0 码力 | 437 页 | 405.14 KB | 3 月前3
Julia 1.11.4methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Variables 10 4.1 Allowed Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.2 Assignment expressions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.5 Operators With Special Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.6 Anonymous Functions . . . . . . excess argument diversity in the caller . . . . . . . . . . . . . . . . . . . . 483 37.5 Append ! to names of functions that modify their arguments . . . . . . . . . . . . . 483 37.6 Avoid strange type Unions0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationmethods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Variables 10 4.1 Allowed Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.2 Assignment expressions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.5 Operators With Special Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.6 Anonymous Functions . . . . . . excess argument diversity in the caller . . . . . . . . . . . . . . . . . . . . 483 37.5 Append ! to names of functions that modify their arguments . . . . . . . . . . . . . 483 37.6 Avoid strange type Unions0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notesmethods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Variables 10 4.1 Allowed Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.2 Assignment expressions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.5 Operators With Special Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.6 Anonymous Functions . . . . . . excess argument diversity in the caller . . . . . . . . . . . . . . . . . . . . 483 37.5 Append ! to names of functions that modify their arguments . . . . . . . . . . . . . 483 37.6 Avoid strange type Unions0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.12.0 RC1methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Variables 10 4.1 Allowed Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 Assignment expressions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.5 Operators With Special Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.6 Anonymous Functions . . . . . . excess argument diversity in the caller . . . . . . . . . . . . . . . . . . . . 495 37.5 Append ! to names of functions that modify their arguments . . . . . . . . . . . . . 495 37.6 Avoid strange type Unions0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Variables 10 4.1 Allowed Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 Assignment expressions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.5 Operators With Special Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.6 Anonymous Functions . . . . . . excess argument diversity in the caller . . . . . . . . . . . . . . . . . . . . 494 37.5 Append ! to names of functions that modify their arguments . . . . . . . . . . . . . 494 37.6 Avoid strange type Unions0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Variables 10 4.1 Allowed Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 Assignment expressions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.5 Operators With Special Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.6 Anonymous Functions . . . . . . excess argument diversity in the caller . . . . . . . . . . . . . . . . . . . . 494 37.5 Append ! to names of functions that modify their arguments . . . . . . . . . . . . . 494 37.6 Avoid strange type Unions0 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Variables 10 4.1 Allowed Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 Assignment expressions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.5 Operators With Special Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.6 Anonymous Functions . . . . . . excess argument diversity in the caller . . . . . . . . . . . . . . . . . . . . 494 37.5 Append ! to names of functions that modify their arguments . . . . . . . . . . . . . 494 37.6 Avoid strange type Unions0 码力 | 2047 页 | 7.41 MB | 3 月前3
julia 1.13.0 DEVmethods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Variables 10 4.1 Allowed Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 Assignment expressions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.5 Operators With Special Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.6 Anonymous Functions . . . . . . excess argument diversity in the caller . . . . . . . . . . . . . . . . . . . . 494 37.6 Append ! to names of functions that modify their arguments . . . . . . . . . . . . . 495 37.7 Avoid strange type Unions0 码力 | 2058 页 | 7.45 MB | 3 月前3
共 26 条
- 1
- 2
- 3













