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
Mypy 1.8.0 DocumentationGeneric protocols Generic type aliases Generic class internals More types The NoReturn type NewTypes Function overloading Advanced uses of self-types Typing async/await Literal types and Enums Literal types Config file Import discovery Platform configuration Disallow dynamic typing Untyped definitions and calls None and Optional handling Configuring warnings Miscellaneous strictness flags Configuring error messages mypy.ini Import discovery Platform configuration Disallow dynamic typing Untyped definitions and calls None and Optional handling Configuring warnings Suppressing errors Miscellaneous strictness flags0 码力 | 318 页 | 271.55 KB | 1 年前3
Mypy 1.10.0+dev DocumentationGeneric protocols Generic type aliases Generic class internals More types The NoReturn type NewTypes Function overloading Advanced uses of self-types Typing async/await Literal types and Enums Literal types Config file Import discovery Platform configuration Disallow dynamic typing Untyped definitions and calls None and Optional handling Configuring warnings Miscellaneous strictness flags Configuring error messages mypy.ini Import discovery Platform configuration Disallow dynamic typing Untyped definitions and calls None and Optional handling Configuring warnings Suppressing errors Miscellaneous strictness flags0 码力 | 318 页 | 270.84 KB | 1 年前3
Mypy 1.8.0 DocumentationONE CONTENTS 1.1 Getting started This chapter introduces some core concepts of mypy, including function annotations, the typing module, stub files, and more. If you’re looking for a quick intro, see section below for details. 3 Mypy Documentation, Release 1.8.0 1.1.2 Dynamic vs static typing A function without type annotations is considered to be dynamically typed by mypy: def greeting(name): return regular unannotated Python. This is the case even if you misuse the function! def greeting(name): return 'Hello ' + name # These calls will fail when the program run, but mypy does not report an error0 码力 | 234 页 | 902.89 KB | 1 年前3
Mypy 1.10.0+dev DocumentationONE CONTENTS 1.1 Getting started This chapter introduces some core concepts of mypy, including function annotations, the typing module, stub files, and more. If you’re looking for a quick intro, see Release 1.10.0+dev.790e8a73d8671a41cae419b4ea07579bfb2bc292.dirty 1.1.2 Dynamic vs static typing A function without type annotations is considered to be dynamically typed by mypy: def greeting(name): return regular unannotated Python. This is the case even if you misuse the function! def greeting(name): return 'Hello ' + name # These calls will fail when the program runs, but mypy does not report an error0 码力 | 234 页 | 913.89 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.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 you can interact with the code in the browser: 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 码力 | 150 页 | 7.46 MB | 1 年前3
PyWebIO v1.7.0 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 you can interact with the code in the browser: 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 码力 | 149 页 | 7.46 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













