 PyWebIO v1.0.3 使用手册gift = select('Which gift you want?', ['keyboard', 'ipad']) # 勾选选项 agree = checkbox("用户协议", options=['I agree to terms and conditions']) # 单选选项 answer = radio("Choose one", options=['A', 'B', 'C', 'D']) run_async(coro) 来异步执行一个协程对象,新协程内可以使用PyWebIO交互 函数: from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio 函数的同名参数含义 一致 @popup('Popup title') def show_popup(): put_html(' PyWebIO v1.0.3 使用手册gift = select('Which gift you want?', ['keyboard', 'ipad']) # 勾选选项 agree = checkbox("用户协议", options=['I agree to terms and conditions']) # 单选选项 answer = radio("Choose one", options=['A', 'B', 'C', 'D']) run_async(coro) 来异步执行一个协程对象,新协程内可以使用PyWebIO交互 函数: from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio 函数的同名参数含义 一致 @popup('Popup title') def show_popup(): put_html('- Popup Content') put_text("I'm in a popup!") ... show_popup() 参数: pywebio.output.put_column(content, size=None, scope=- 1,0 码力 | 106 页 | 7.34 MB | 1 年前3
 PyWebIO v1.0.3 使用手册. . . . . . . . . 74 5 Indices and tables 83 6 Discussion and support 85 Python 模块索引 87 索引 89 i ii PyWebIO, 发布 1.0.3 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 = select('Which gift you want?', ['keyboard', 'ipad']) # 勾选选项 agree = checkbox("用户协议", options=['I agree to terms and conditions']) # 单选选项 answer = radio("Choose one", options=['A', 'B', 'C', 'D']) 在协程会话中不可用)。但你可以使用run_async(coro) 来异步执行一个协程对象,新协程内可以使用 PyWebIO 交互函数: from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio.sleep(1)0 码力 | 94 页 | 1.71 MB | 1 年前5 PyWebIO v1.0.3 使用手册. . . . . . . . . 74 5 Indices and tables 83 6 Discussion and support 85 Python 模块索引 87 索引 89 i ii PyWebIO, 发布 1.0.3 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 = select('Which gift you want?', ['keyboard', 'ipad']) # 勾选选项 agree = checkbox("用户协议", options=['I agree to terms and conditions']) # 单选选项 answer = radio("Choose one", options=['A', 'B', 'C', 'D']) 在协程会话中不可用)。但你可以使用run_async(coro) 来异步执行一个协程对象,新协程内可以使用 PyWebIO 交互函数: from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio.sleep(1)0 码力 | 94 页 | 1.71 MB | 1 年前5
 PyWebIO v1.2.3 使用手册. . . . . . . . . 82 5 Indices and tables 91 6 Discussion and support 93 Python 模块索引 95 索引 97 i ii PyWebIO, 发布 1.2.3 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 102 页 | 1.67 MB | 1 年前3 PyWebIO v1.2.3 使用手册. . . . . . . . . 82 5 Indices and tables 91 6 Discussion and support 93 Python 模块索引 95 索引 97 i ii PyWebIO, 发布 1.2.3 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 102 页 | 1.67 MB | 1 年前3
 PyWebIO v1.2.2 使用手册. . . . . . . . . 82 5 Indices and tables 91 6 Discussion and support 93 Python 模块索引 95 索引 97 i ii PyWebIO, 发布 1.2.2 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 102 页 | 1.69 MB | 1 年前3 PyWebIO v1.2.2 使用手册. . . . . . . . . 82 5 Indices and tables 91 6 Discussion and support 93 Python 模块索引 95 索引 97 i ii PyWebIO, 发布 1.2.2 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 102 页 | 1.69 MB | 1 年前3
 PyWebIO v1.2.3 使用手册select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' insert the Coding into the top of the hobby with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana' run_async(coro) 来异步执行一个协程对象,新协程内可以使用PyWebIO交互 函数: from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio0 码力 | 119 页 | 7.44 MB | 1 年前3 PyWebIO v1.2.3 使用手册select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' insert the Coding into the top of the hobby with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana' run_async(coro) 来异步执行一个协程对象,新协程内可以使用PyWebIO交互 函数: from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio0 码力 | 119 页 | 7.44 MB | 1 年前3
 PyWebIO v1.2.2 使用手册select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' insert the Coding into the top of the hobby with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], 支持上下文管理器的完整函数清单请见 run_async(coro) 来异步执行一个协程对象,新协程内可以使用PyWebIO交互 函数: from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio0 码力 | 119 页 | 7.41 MB | 1 年前3 PyWebIO v1.2.2 使用手册select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' insert the Coding into the top of the hobby with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], 支持上下文管理器的完整函数清单请见 run_async(coro) 来异步执行一个协程对象,新协程内可以使用PyWebIO交互 函数: from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio0 码力 | 119 页 | 7.41 MB | 1 年前3
 PyWebIO v1.3.1 使用手册. . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.1 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 111 页 | 1.70 MB | 1 年前3 PyWebIO v1.3.1 使用手册. . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.1 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 111 页 | 1.70 MB | 1 年前3
 PyWebIO v1.3.3 使用手册. . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.3 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 111 页 | 1.70 MB | 1 年前3 PyWebIO v1.3.3 使用手册. . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.3 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 111 页 | 1.70 MB | 1 年前3
 PyWebIO v1.3.2 使用手册. . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.2 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 111 页 | 1.70 MB | 1 年前3 PyWebIO v1.3.2 使用手册. . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.2 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 111 页 | 1.70 MB | 1 年前3
 PyWebIO v1.3.0 使用手册. . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.0 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 111 页 | 1.70 MB | 1 年前3 PyWebIO v1.3.0 使用手册. . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.0 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 select('Which gift you want?', ['keyboard', 'ipad']) # Checkbox agree = checkbox("User Term", options=['I agree to terms and conditions']) # Single choice answer = radio("Choose one", options=['A', 'B', 'C' 上下文管理器 一些接受 put_xxx() 调用作为参数的输出函数支持作为上下文管理器来使用: with put_collapse('This is title'): for i in range(4): put_text(i) put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) 支持上下文管理器的完整函数清单请见输出函数列表0 码力 | 111 页 | 1.70 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9














