 10 为Python Function自动生成Web UI 彭未康为 Python Function 自动生成 Web UI 彭未康 Touch-Callable The web framework for less serious application. Touch-Callable vs (Flask, Django) • Django, Flask • 起步快且容易(getting started quick and easy) • 扩展为复杂应用(scale 3.6 例子:生成测试用户 例子:生成测试用户 例子:生成测试用户 例子:远程控制饮水机 接下来: • 支持更多的数据类型 • 类型对应的控件可配置 大胆的想法: • 直接使用 Function 构建小型应用的管理后台? • Serverless 管理后台? 谢谢大家0 码力 | 11 页 | 791.38 KB | 1 年前3 10 为Python Function自动生成Web UI 彭未康为 Python Function 自动生成 Web UI 彭未康 Touch-Callable The web framework for less serious application. Touch-Callable vs (Flask, Django) • Django, Flask • 起步快且容易(getting started quick and easy) • 扩展为复杂应用(scale 3.6 例子:生成测试用户 例子:生成测试用户 例子:生成测试用户 例子:远程控制饮水机 接下来: • 支持更多的数据类型 • 类型对应的控件可配置 大胆的想法: • 直接使用 Function 构建小型应用的管理后台? • Serverless 管理后台? 谢谢大家0 码力 | 11 页 | 791.38 KB | 1 年前3
 Python in Azure Functions 基于Python的Azure Functions实践 赵健0 码力 | 28 页 | 12.57 MB | 1 年前3 Python in Azure Functions 基于Python的Azure Functions实践 赵健0 码力 | 28 页 | 12.57 MB | 1 年前3
 Flask Documentation (1.1.x)pro. Discuss with the community. API Reference If you are looking for information on a specific function, class or method, this part of the documentation is for you. API Application Object Blueprint Configuration Stream Helpers Useful Internals Signals Class-Based Views URL Route Registrations View Function Options Command Line Interface Additional Notes Design notes, legal information and changelog Flask uses thread-local objects internally so that you don’t have to pass objects around from function to function within a request in order to stay threadsafe. This approach is convenient, but requires a0 码力 | 428 页 | 895.98 KB | 1 年前3 Flask Documentation (1.1.x)pro. Discuss with the community. API Reference If you are looking for information on a specific function, class or method, this part of the documentation is for you. API Application Object Blueprint Configuration Stream Helpers Useful Internals Signals Class-Based Views URL Route Registrations View Function Options Command Line Interface Additional Notes Design notes, legal information and changelog Flask uses thread-local objects internally so that you don’t have to pass objects around from function to function within a request in order to stay threadsafe. This approach is convenient, but requires a0 码力 | 428 页 | 895.98 KB | 1 年前3
 Flask Documentation (1.1.x)Flask uses thread-local objects internally so that you don’t have to pass objects around from function to function within a request in order to stay threadsafe. This approach is convenient, but requires a decorator to tell Flask what URL should trigger our function. 4. The function is given a name which is also used to generate URLs for that particular function, and returns the message we want to display in meaningful URL they can remember and use to directly visit a page. Use the route() decorator to bind a function to a URL. @app.route('/') def index(): return 'Index Page' @app.route('/hello') (continues on0 码力 | 291 页 | 1.25 MB | 1 年前3 Flask Documentation (1.1.x)Flask uses thread-local objects internally so that you don’t have to pass objects around from function to function within a request in order to stay threadsafe. This approach is convenient, but requires a decorator to tell Flask what URL should trigger our function. 4. The function is given a name which is also used to generate URLs for that particular function, and returns the message we want to display in meaningful URL they can remember and use to directly visit a page. Use the route() decorator to bind a function to a URL. @app.route('/') def index(): return 'Index Page' @app.route('/hello') (continues on0 码力 | 291 页 | 1.25 MB | 1 年前3
 Jinja2 Documentation Release 2.10Jinja2 is using Unicode internally which means that you have to pass Unicode objects to the render function or bytestrings that only consist of ASCII characters. Addition- ally newlines are normalized to depending on autoescape should be enabled by default. Changed in version 2.4: autoescape can now be a function loader The template loader for this environment. cache_size The size of the cache. Per default in version 2.1. compile_templates(target, extensions=None, filter_func=None, zip=’deflated’, log_function=None, ignore_errors=True, py_compile=False) Finds all the templates the loader can find, compiles0 码力 | 148 页 | 475.08 KB | 1 年前3 Jinja2 Documentation Release 2.10Jinja2 is using Unicode internally which means that you have to pass Unicode objects to the render function or bytestrings that only consist of ASCII characters. Addition- ally newlines are normalized to depending on autoescape should be enabled by default. Changed in version 2.4: autoescape can now be a function loader The template loader for this environment. cache_size The size of the cache. Per default in version 2.1. compile_templates(target, extensions=None, filter_func=None, zip=’deflated’, log_function=None, ignore_errors=True, py_compile=False) Finds all the templates the loader can find, compiles0 码力 | 148 页 | 475.08 KB | 1 年前3
 PyWebIO v1.2.2 Documentationcode in the browser: 7 PyWebIO, Release 1.2.2 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the text input field to get the input. After the user completes the input and submits the form, the function returns the value entered by the user. Here are some other types of input functions: 9 PyWebIO0 码力 | 92 页 | 1.35 MB | 1 年前3 PyWebIO v1.2.2 Documentationcode in the browser: 7 PyWebIO, Release 1.2.2 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the text input field to get the input. After the user completes the input and submits the form, the function returns the value entered by the user. Here are some other types of input functions: 9 PyWebIO0 码力 | 92 页 | 1.35 MB | 1 年前3
 PyWebIO v1.7.1 Documentationcan write applications just like writing terminal scripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive code in the browser: 7 PyWebIO, Release 1.7.1 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the0 码力 | 112 页 | 1.38 MB | 1 年前3 PyWebIO v1.7.1 Documentationcan write applications just like writing terminal scripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive code in the browser: 7 PyWebIO, Release 1.7.1 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the0 码力 | 112 页 | 1.38 MB | 1 年前3
 PyWebIO v1.6.1 Documentationcan write applications just like writing terminal scripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive code in the browser: 7 PyWebIO, Release 1.6.1 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the0 码力 | 108 页 | 1.37 MB | 1 年前3 PyWebIO v1.6.1 Documentationcan write applications just like writing terminal scripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive code in the browser: 7 PyWebIO, Release 1.6.1 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the0 码力 | 108 页 | 1.37 MB | 1 年前3
 PyWebIO v1.6.2 Documentationcan write applications just like writing terminal scripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive code in the browser: 7 PyWebIO, Release 1.6.2 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the0 码力 | 108 页 | 1.37 MB | 1 年前3 PyWebIO v1.6.2 Documentationcan write applications just like writing terminal scripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive code in the browser: 7 PyWebIO, Release 1.6.2 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the0 码力 | 108 页 | 1.37 MB | 1 年前3
 PyWebIO v1.6.3 Documentationcan write applications just like writing terminal scripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive code in the browser: 7 PyWebIO, Release 1.6.3 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the0 码力 | 108 页 | 1.37 MB | 1 年前3 PyWebIO v1.6.3 Documentationcan write applications just like writing terminal scripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive code in the browser: 7 PyWebIO, Release 1.6.3 In the last line of the above code, changing the function call bmi() to pywebio.start_server(bmi, port=80) will start a bmi web service on port 80 ( online import *. When calling the input function, an input form will be popped up on the browser. PyWebIO’s input functions is blocking (same as Python’s built-in input() function) and will not return until the0 码力 | 108 页 | 1.37 MB | 1 年前3
共 531 条
- 1
- 2
- 3
- 4
- 5
- 6
- 54














 
 