PyWebIO v1.5.2 DocumentationTornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.5.2 4 Chapter 1. Features CHAPTER input data as its value: data = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) accepts the entire form data as parameter: def check_form(data): # return (input name, error msg) when validation fail if len(data['name']) > 6: return ('name', 'Name too long!') if data['age'] <= 0: return0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.0 DocumentationTornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.5.0 4 Chapter 1. Features CHAPTER input data as its value: data = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) accepts the entire form data as parameter: def check_form(data): # return (input name, error msg) when validation fail if len(data['name']) > 6: return ('name', 'Name too long!') if data['age'] <= 0: return0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.1 DocumentationTornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.5.1 4 Chapter 1. Features CHAPTER input data as its value: data = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) accepts the entire form data as parameter: def check_form(data): # return (input name, error msg) when validation fail if len(data['name']) > 6: return ('name', 'Name too long!') if data['age'] <= 0: return0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.1 DocumentationDjango, Tornado, aiohttp and FastAPI(Starlette) framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio start_server() Integration with web framework Coroutine-based session Libraries support Build stand-alone App Data visualization Cookbook Release notes What’s new in PyWebIO 1.5 What’s new in PyWebIO 1.4 What’s as parameter, and returns a dictionary with the name of the single input as its key and the input data as its value: return 'Too old!!' age = input("How old are you?", type=NUMBER, validate=check_age)0 码力 | 144 页 | 7.46 MB | 1 年前3
PyWebIO v1.5.2 DocumentationDjango, Tornado, aiohttp and FastAPI(Starlette) framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio start_server() Integration with web framework Coroutine-based session Libraries support Build stand-alone App Data visualization Cookbook Release notes What’s new in PyWebIO 1.5 What’s new in PyWebIO 1.4 What’s as parameter, and returns a dictionary with the name of the single input as its key and the input data as its value: return 'Too old!!' age = input("How old are you?", type=NUMBER, validate=check_age)0 码力 | 144 页 | 7.46 MB | 1 年前3
PyWebIO v1.5.0 DocumentationDjango, Tornado, aiohttp and FastAPI(Starlette) framework Support for asyncio and coroutine Support data visualization with third-party libraries Installation Stable version: pip3 install -U pywebio start_server() Integration with web framework Coroutine-based session Libraries support Build stand-alone App Data visualization Cookbook Release notes What’s new in PyWebIO 1.5 What’s new in PyWebIO 1.4 What’s as parameter, and returns a dictionary with the name of the single input as its key and the input data as its value: return 'Too old!!' age = input("How old are you?", type=NUMBER, validate=check_age)0 码力 | 144 页 | 7.46 MB | 1 年前3
Objeet Oriented Python
Tutorial............................................................................ 15 OOP IN PYTHON – DATA STRUCTURES ...................................................................................... ............................................................ 34 Working with Class and Instance Data ................................................................................................. techniques used for modelling complex systems by describing a collection of interacting objects via their data and behavior. Python, an Object Oriented programming (OOP), is a way of programming that focuses0 码力 | 111 页 | 3.32 MB | 1 年前3
PyWebIO v1.5.2 使用手册作为键、以输入数据为值的字典: data = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) 输入组中同样支持使用 参数设置校验函数,其接受整个表单数据作为参数: def check_form(data): # return (input name, error msg) when validation fail if len(data['name']) > 6: return ('name', 'Name too long!') if data['age'] <= 0: return ('age', 'Age can 应用打包到一个单独的可执行文件里面,从而使用户可以在没有安装 python 解释器 的情况下运行应用,你可以参考Build stand-alone App 如果你想在 PyWebIO 应用中进行一些数据可视化,可以参考Data visualization 4.1.5 Last but not least 以上基本就是 PyWebIO 的全部功能了,你可以继续阅读接下来的文档,或者立即开始 PyWebIO 应用的编写0 码力 | 125 页 | 1.72 MB | 1 年前3
PyWebIO v1.5.0 使用手册作为键、以输入数据为值的字典: data = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) 输入组中同样支持使用 参数设置校验函数,其接受整个表单数据作为参数: def check_form(data): # return (input name, error msg) when validation fail if len(data['name']) > 6: return ('name', 'Name too long!') if data['age'] <= 0: return ('age', 'Age can 应用打包到一个单独的可执行文件里面,从而使用户可以在没有安装 python 解释器 的情况下运行应用,你可以参考Build stand-alone App 如果你想在 PyWebIO 应用中进行一些数据可视化,可以参考Data visualization 4.1.5 Last but not least 以上基本就是 PyWebIO 的全部功能了,你可以继续阅读接下来的文档,或者立即开始 PyWebIO 应用的编写0 码力 | 125 页 | 1.72 MB | 1 年前3
PyWebIO v1.5.1 使用手册作为键、以输入数据为值的字典: data = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) 输入组中同样支持使用 参数设置校验函数,其接受整个表单数据作为参数: def check_form(data): # return (input name, error msg) when validation fail if len(data['name']) > 6: return ('name', 'Name too long!') if data['age'] <= 0: return ('age', 'Age can 应用打包到一个单独的可执行文件里面,从而使用户可以在没有安装 python 解释器 的情况下运行应用,你可以参考Build stand-alone App 如果你想在 PyWebIO 应用中进行一些数据可视化,可以参考Data visualization 4.1.5 Last but not least 以上基本就是 PyWebIO 的全部功能了,你可以继续阅读接下来的文档,或者立即开始 PyWebIO 应用的编写0 码力 | 125 页 | 1.72 MB | 1 年前3
共 540 条
- 1
- 2
- 3
- 4
- 5
- 6
- 54













