Python AdminUI可以看到,上面 的示例创建了一个表单、一个文本字段、一个文本区域和一个提交按钮。 最后,运行应用: app.run() 1.2 Use FastAPI instead of Flask Set use_fastapi=True when creating the app; and prepare() instead of run to expose the app to uvicorn. may use in your form: 2.1.1 TextField TextField('Title', required_message='Title is required!') Set password=True to setup a password field: TextField('Enter Password', password=True) class adminui placeholder – the text message shown when the field is not filled. • password – set to True if it’s a password box • disabled – set to True to make the control disabled 2.1.2 TextArea 8 Chapter 2. 创建表单 Python0 码力 | 67 页 | 653.37 KB | 1 年前3
Python 标准库参考指南 3.9.20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.9 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 4.10 映射类型 --- dict 日历相关函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 8.4 collections --- 容器数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 8.4.1 ChainMap 对象 . . . . . . . . . . . . . . . . . . . 224 8.5 collections.abc --- 容器的抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224 8.5.1 容器抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2015 页 | 10.12 MB | 10 月前3
Python 标准库参考指南 3.9.20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4.9 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 4.10 映射类型 --- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 8.4 collections --- 容器数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 8.4.1 ChainMap 对象 . . . . . . . . . . . . . . . . 238 8.5 collections.abc --- 容器的抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 8.5.1 容器抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2146 页 | 10.17 MB | 10 月前3
Python 标准库参考指南 3.13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 4.10 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 4.11 映射类型 --- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 8.4 collections --- 容器数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 8.4.1 ChainMap 对象 . . . . . . . . . . . . . . . . . 253 8.5 collections.abc --- 容器的抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 8.5.1 容器抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2246 页 | 11.74 MB | 10 月前3
Python 标准库参考指南 3.13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 4.10 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 4.11 映射类型 --- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 8.4 collections --- 容器数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 8.4.1 ChainMap 对象 . . . . . . . . . . . . . . . . . 251 8.5 collections.abc --- 容器的抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 8.5.1 容器抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2242 页 | 11.73 MB | 10 月前3
Python 标准库参考指南 3.12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 4.10 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 4.11 映射类型 --- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 8.4 collections --- 容器数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 8.4.1 ChainMap 对象 . . . . . . . . . . . . . . . . . 247 8.5 collections.abc --- 容器的抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 8.5.1 容器抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2253 页 | 11.81 MB | 10 月前3
Python 标准库参考指南 3.12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 4.10 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 4.11 映射类型 --- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 8.4 collections --- 容器数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 8.4.1 ChainMap 对象 . . . . . . . . . . . . . . . . . 247 8.5 collections.abc --- 容器的抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 8.5.1 容器抽象基类 . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2253 页 | 11.81 MB | 10 月前3
Python 标准库参考指南 3.8.20 二进制序列类型 --- bytes, bytearray, memoryview . . . . . . . . . . . . . . . . . . . . 49 4.9 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4.10 映射类型 --- dict . . . . . . . . . . . 192 8.3 collections --- 容器数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 8.4 collections.abc --- 容器的抽象基类 . . . . . . . . . . . . . . . . . . . . . CHAPTER2 内置函数 Python 解释器内置了很多函数和类型,任何时候都能使用。以下按字母顺序给出列表。 内置函数 abs() delattr() hash() memoryview() set() all() dict() help() min() setattr() any() dir() hex() next() slice() ascii() divmod() id() object()0 码力 | 1927 页 | 9.69 MB | 10 月前3
Python 标准库参考指南 3.8.20 二进制序列类型 --- bytes, bytearray, memoryview . . . . . . . . . . . . . . . . . . . . 49 4.9 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4.10 映射类型 --- dict . . . . . . . . . . . 192 8.3 collections --- 容器数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 8.4 collections.abc --- 容器的抽象基类 . . . . . . . . . . . . . . . . . . . . . CHAPTER2 内置函数 Python 解释器内置了很多函数和类型,任何时候都能使用。以下按字母顺序给出列表。 内置函数 abs() delattr() hash() memoryview() set() all() dict() help() min() setattr() any() dir() hex() next() slice() ascii() divmod() id() object()0 码力 | 1927 页 | 9.69 MB | 10 月前3
Python 标准库参考指南 3.8.20 二进制序列类型 --- bytes, bytearray, memoryview . . . . . . . . . . . . . . . . . . . . . . 52 4.9 集合类型 --- set, frozenset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 4.10 映射类型 --- . . . . . . . . . . 206 8.3 collections --- 容器数据类型 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211 8.4 collections.abc --- 容器的抽象基类 . . . . . . . . . . . . . . . . . . . . CHAPTER2 内置函数 Python 解释器内置了很多函数和类型,任何时候都能使用。以下按字母顺序给出列表。 内置函数 abs() delattr() hash() memoryview() set() all() dict() help() min() setattr() any() dir() hex() next() slice() ascii() divmod() id() object()0 码力 | 2052 页 | 9.74 MB | 10 月前3
共 526 条
- 1
- 2
- 3
- 4
- 5
- 6
- 53













