Tornado 6.0 Documentation
Template syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} support control statements and expressions. Control statements are surrounded by {% and %}, e.g. {% if len(items) > 2 %}. Expressions are surrounded by {{ and }}, e.g. {{ items[0] }}. Control statements main thread. If you use multiple threads it is important to use IOLoop.add_callback to transfer control back to the main thread before finishing the request, or to limit your use of other threads to IOLoop0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.5 DocumentationTemplate syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} render("template.html", title="My title", items=items) Tornado templates support control statements and expressions. Control statements are surrounded by {% and %}, e.g. {% if len(items) > 2 %}. Expressions surrounded by {{ and }}, e.g. {{ items[0] }}. 6.1. User’s guide 27Tornado Documentation, Release 6.5.1 Control statements more or less map exactly to Python statements. We support if, for, while, and try, all0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.1 Documentation
Template syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} support control statements and expressions. Control statements are surrounded by {% and %}, e.g. {% if len(items) > 2 %}. Expressions are surrounded by {{ and }}, e.g. {{ items[0] }}. Control statements main thread. If you use multiple threads it is important to use IOLoop.add_callback to transfer control back to the main thread before finishing the request, or to limit your use of other threads to IOLoop0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 5.1 Documentation
Template syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} support control statements and expressions. Control statements are surrounded by {% and %}, e.g., {% if len(items) > 2 %}. Expressions are surrounded by {{ and }}, e.g., {{ items[0] }}. Control statements main thread. If you use multiple threads it is important to use IOLoop.add_callback to transfer control back to the main thread before finishing the request, 5.2. Web framework 37 Tornado Documentation0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.4 Documentation
Template syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} render("template.html", title="My title", items=items) Tornado templates support control statements and expressions. Control statements are surrounded by {% and %}, e.g. {% if len(items) > 2 %}. Expressions surrounded by {{ and }}, e.g. {{ items[0] }}. 6.1. User’s guide 27 Tornado Documentation, Release 6.4 Control statements more or less map exactly to Python statements. We support if, for, while, and try, all0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
Template syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} support control statements and expressions. Control statements are surrounded by {% and %}, e.g. {% if len(items) > 2 %}. Expressions are surrounded by {{ and }}, e.g. {{ items[0] }}. Control statements main thread. If you use multiple threads it is important to use IOLoop.add_callback to transfer control back to the main thread before finishing the request, or to limit your use of other threads to IOLoop0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
Template syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} render("template.html", title="My title", items=items) Tornado templates support control statements and expressions. Control statements are surrounded by {% and %}, e.g. {% if len(items) > 2 %}. Expressions surrounded by {{ and }}, e.g. {{ items[0] }}. 6.1. User’s guide 27 Tornado Documentation, Release 6.4 Control statements more or less map exactly to Python statements. We support if, for, while, and try, all0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
Template syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} render("template.html", title="My title", items=items) Tornado templates support control statements and expressions. Control statements are surrounded by {% and %}, e.g. {% if len(items) > 2 %}. Expressions surrounded by {{ and }}, e.g. {{ items[0] }}. 6.1. User’s guide 27 Tornado Documentation, Release 6.4 Control statements more or less map exactly to Python statements. We support if, for, while, and try, all0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.3 Documentation
Template syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} render("template.html", title="My title", items=items) Tornado templates support control statements and expressions. Control statements are surrounded by {% and %}, e.g. {% if len(items) > 2 %}. Expressions by {{ and }}, e.g. {{ items[0] }}. 6.1. User’s guide 27 Tornado Documentation, Release 6.3.3 Control statements more or less map exactly to Python statements. We support if, for, while, and try, all0 码力 | 264 页 | 1.06 MB | 1 年前3
Tornado 6.0 Documentation
Template syntax A Tornado template is just HTML (or any other text-based format) with Python control sequences and expressions embedded within the markup:{{ title }} support control statements and expressions. Control statements are surrounded by {% and %}, e.g. {% if len(items) > 2 %}. Expressions are surrounded by {{ and }}, e.g. {{ items[0] }}. Control statements main thread. If you use multiple threads it is important to use IOLoop.add_callback to transfer control back to the main thread before finishing the request, or to limit your use of other threads to IOLoop0 码力 | 869 页 | 692.83 KB | 1 年前3
共 20 条
- 1
- 2













