Tornado 6.1 Documentation
recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the Tornado documentation will generally use the native form. Translation reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler def get(self): self.write('<form action="/myform" method="POST">' '' '' 'form>') def post(self): self0 码力 | 245 页 | 904.24 KB | 1 年前3Tornado 5.1 Documentation
recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the tornado documentation will generally use the native form. Translation reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler def get(self): self.write('<form action="/myform" method="POST">' '' '' 'form>') def post(self): self0 码力 | 243 页 | 895.80 KB | 1 年前3Tornado 6.0 Documentation
recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the Tornado documentation will generally use the native form. Translation reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler def get(self): self.write('<form action="/myform" method="POST">' '' '' 'form>') def post(self): self0 码力 | 245 页 | 885.76 KB | 1 年前3Tornado 6.5 Documentation
recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the Tornado documentation will generally use the native form. Translation reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler def get(self): self.write('<form action="/myform" method="POST">' '' '' 'form>') def post(self): self0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 4.5 Documentation
futures. You can use tornado.gen.convert_yielded to convert anything that would work with yield into a form that will work with await: async def f(): executor = concurrent.futures.ThreadPoolExecutor() await reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler def get(self): self.write('<form action="/myform" method="POST">' '' '' 'form>') def post(self): self0 码力 | 222 页 | 833.04 KB | 1 年前3Tornado 4.5 Documentation
futures]. You can use tornado.gen.convert_yielded to convert anything that would work with yield into a form that will work with await: async def f(): executor = concurrent.futures.ThreadPoolExecutor() reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler write('<form action="/myform" method="POST">' '' '' 'form>')0 码力 | 333 页 | 322.34 KB | 1 年前3Tornado 6.4 Documentation
recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the Tornado documentation will generally use the native form. Translation reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler def get(self): self.write('<form action="/myform" method="POST">' '' '' 'form>') def post(self): self0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.2 Documentation
recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the Tornado documentation will generally use the native form. Translation reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler def get(self): self.write('<form action="/myform" method="POST">' '' '' 'form>') def post(self): self0 码力 | 260 页 | 1.06 MB | 1 年前3Tornado 6.4 Documentation
recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the Tornado documentation will generally use the native form. Translation reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler def get(self): self.write('<form action="/myform" method="POST">' '' '' 'form>') def post(self): self0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.4 Documentation
recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the Tornado documentation will generally use the native form. Translation reverse_url. For example, in this fragment the root URL / is mapped to MainHandler and URLs of the form /story/ followed by a number are mapped to StoryHandler. That number is passed (as a string) to StoryHandler def get(self): self.write('<form action="/myform" method="POST">' '' '' 'form>') def post(self): self0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2