PyWebIO v1.6.1 Documentationpywebio_battery — PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 4.12 Server-Client communication protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.6.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'])0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.2 Documentationpywebio_battery — PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 4.12 Server-Client communication protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.6.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'])0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.0 Documentationpywebio_battery — PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 4.12 Server-Client communication protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.6.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'])0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.7.0 使用手册pywebio_battery —PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 4.12 服务器-客户端通信协议 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 5 作为键、以输入数据为值的字典: 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 can0 码力 | 125 页 | 1.72 MB | 1 年前3
PyWebIO v1.7.1 Documentationpywebio_battery — PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 4.12 Server-Client communication protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.7.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'])0 码力 | 112 页 | 1.38 MB | 1 年前3
PyWebIO v1.7.0 Documentationpywebio_battery — PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 4.12 Server-Client communication protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.7.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'])0 码力 | 110 页 | 1.37 MB | 1 年前3
PyWebIO v1.8.0 Documentationpywebio_battery — PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4.12 Server-Client communication protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.8.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'])0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.2 Documentationpywebio_battery — PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4.12 Server-Client communication protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.8.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'])0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.1 Documentationpywebio_battery — PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4.12 Server-Client communication protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tornado, aiohttp and FastAPI(Starlette) framework • Support for asyncio and coroutine • Support data visualization with third-party libraries 3 PyWebIO, Release 1.8.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'])0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.2 使用手册pywebio_battery —PyWebIO battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 4.12 服务器-客户端通信协议 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 5 作为键、以输入数据为值的字典: 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 can0 码力 | 137 页 | 1.76 MB | 1 年前3
共 559 条
- 1
- 2
- 3
- 4
- 5
- 6
- 56













