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
The Python Handbook
point number 11.0.3. Complex number 11.0.4. Arithmetic operations on number 11.0.5. Built-in Function 12. Constants 13. Enums 14. User Input 15. Control Statements 16. Lists 4 17. Tuples 18 Installing 3rd party packages using pip 41. List comprehensions 42. Polymorphism 43. Operator Overloading 44. Virtual Environments 1. Introduction to Python 5 Python is literally eating the programming meaning. Everything indented belongs to a block, like a control statement or conditional block, or a function or class body. We'll see more about those later on. 6. Data Types Python has several built-in0 码力 | 93 页 | 7.31 MB | 1 年前3
Objeet Oriented Python
Tutorialaction is present in different forms or ways. One good example of polymorphism is constructor overloading in classes. OOP in Python 5 Object-Oriented Python The heart of Python programming the ‘.’ (dot) Operator. Consider a module named employee.py with a function in it called employee. The code of the function is given below: # this goes in employee.py def EmployeID(): print print (“Employee Unique Identity!”) Now import the module and then access the function EmployeID: import employee employee. EmployeID() OOP in Python 6 You can insert a variable0 码力 | 111 页 | 3.32 MB | 1 年前3
Mypy 1.8.0 Documentationprotocols 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 Enums annotation if variable type is unclear [var-annotated] Check validity of overrides [override] Check that function returns a value [return] Check that functions don’t have empty bodies outside stubs [empty-body] can be found [import-untyped] Check that each name is defined once [no-redef] Check that called function returns a value [func-returns-value] Check instantiation of abstract classes [abstract] Safe handling0 码力 | 318 页 | 271.55 KB | 1 年前3
Mypy 1.10.0+dev Documentationprotocols 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 Enums annotation if variable type is unclear [var-annotated] Check validity of overrides [override] Check that function returns a value [return] Check that functions don’t have empty bodies outside stubs [empty-body] can be found [import-untyped] Check that each name is defined once [no-redef] Check that called function returns a value [func-returns-value] Check instantiation of abstract classes [abstract] Safe handling0 码力 | 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 not report any errors with 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, but0 码力 | 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 not report any errors with 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, but0 码力 | 234 页 | 913.89 KB | 1 年前3
peewee Documentation Release 1.0.0Support for paginating lists of results is implemented in a simple function called object_list (after it’s corollary in Django). This function is used by all the views that return lists of objects. def ob render_template(template_name, **kwargs) Simple authentication system with a login_required decorator. The first function simply adds user data into the current session when a user successfully logs in. The decorator login_required python operators to query You can use python operators to construct queries. This is possible by overloading operators on field instances. Comparing the three methods of querying Examples shown are “default”0 码力 | 101 页 | 163.20 KB | 1 年前3
peewee Documentation
Release 1.0.0Support for paginating lists of results is implemented in a simple function called object_list (after it’s corollary in Django). This function is used by all the views that return lists of objects. def ob Documentation, Release 1.0.0 • Simple authentication system with a login_required decorator. The first function simply adds user data into the current session when a user successfully logs in. The decorator login_required python operators to query You can use python operators to construct queries. This is possible by overloading operators on field instances. Comparing the three methods of querying Examples shown are “default”0 码力 | 71 页 | 405.29 KB | 1 年前3
共 531 条
- 1
- 2
- 3
- 4
- 5
- 6
- 54













