PyWebIO v1.4.0 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . 93 5 Indices and tables 103 6 Discussion and support 105 Python 模块索引 107 索引 109 i ii PyWebIO, 发布 1.4.0 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO Tornado 相关 * WebSocket * HTTP – Flask support 60 Chapter 4. Documentation PyWebIO, 发布 1.4.0 – Django support – aiohttp support – FastAPI/Starlette support • 其他 参见: • Server 模式与 Script 模式 • 与0 码力 | 115 页 | 1.70 MB | 1 年前3PyWebIO v1.3.1 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.1 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 之后,可能需要特别配置反向代理来支持 WebSocket 协议,这里 有一个 Nginx 配置 WebSocket 的例子。 Notes 生产环境部署 在生产环境中,你可能会使用一些 WSGI/ASGI 服务器(如 uWSGI、Gunicorn、Uvicorn)部署 Web 应用程序。 由于 PyWebIO 应用程序会在进程中存储会话状态,当使用基于 HTTP 的会话(使用 Flask 和 Django setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO0 码力 | 111 页 | 1.70 MB | 1 年前3PyWebIO v1.3.3 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.3 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 之后,可能需要特别配置反向代理来支持 WebSocket 协议,这里 有一个 Nginx 配置 WebSocket 的例子。 Notes 生产环境部署 在生产环境中,你可能会使用一些 WSGI/ASGI 服务器(如 uWSGI、Gunicorn、Uvicorn)部署 Web 应用程序。 由于 PyWebIO 应用程序会在进程中存储会话状态,当使用基于 HTTP 的会话(使用 Flask 和 Django setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO0 码力 | 111 页 | 1.70 MB | 1 年前3PyWebIO v1.3.2 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.2 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 之后,可能需要特别配置反向代理来支持 WebSocket 协议,这里 有一个 Nginx 配置 WebSocket 的例子。 Notes 生产环境部署 在生产环境中,你可能会使用一些 WSGI/ASGI 服务器(如 uWSGI、Gunicorn、Uvicorn)部署 Web 应用程序。 由于 PyWebIO 应用程序会在进程中存储会话状态,当使用基于 HTTP 的会话(使用 Flask 和 Django setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO0 码力 | 111 页 | 1.70 MB | 1 年前3PyWebIO v1.3.0 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . . 89 5 Indices and tables 99 6 Discussion and support 101 Python 模块索引 103 索引 105 i ii PyWebIO, 发布 1.3.0 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 之后,可能需要特别配置反向代理来支持 WebSocket 协议,这里 有一个 Nginx 配置 WebSocket 的例子。 Notes 生产环境部署 在生产环境中,你可能会使用一些 WSGI/ASGI 服务器(如 uWSGI、Gunicorn、Uvicorn)部署 Web 应用程序。 由于 PyWebIO 应用程序会在进程中存储会话状态,当使用基于 HTTP 的会话(使用 Flask 和 Django setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO0 码力 | 111 页 | 1.70 MB | 1 年前3PyWebIO v1.7.1 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . 104 5 Indices and tables 115 6 Discussion and support 117 Python 模块索引 119 索引 121 i ii PyWebIO, 发布 1.7.1 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 button") put_buttons(['edit', 'delete'], onclick=[edit, delete]) 在 1.5 版更改: Add disabled button support. The value of button can be any object. pywebio.output.put_button(label, onclick, color=None, small=None setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO0 码力 | 127 页 | 1.73 MB | 1 年前3PyWebIO v1.7.0 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . 101 5 Indices and tables 113 6 Discussion and support 115 Python 模块索引 117 索引 119 i ii PyWebIO, 发布 1.7.0 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 button") put_buttons(['edit', 'delete'], onclick=[edit, delete]) 在 1.5 版更改: Add disabled button support. The value of button can be any object. pywebio.output.put_button(label, onclick, color=None, small=None setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO0 码力 | 125 页 | 1.72 MB | 1 年前3PyWebIO v1.6.0 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . 100 5 Indices and tables 111 6 Discussion and support 113 Python 模块索引 115 索引 117 i ii PyWebIO, 发布 1.6.0 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 button") put_buttons(['edit', 'delete'], onclick=[edit, delete]) 在 1.5 版更改: Add disabled button support. The value of button can be any object. pywebio.output.put_button(label, onclick, color=None, small=None setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO0 码力 | 123 页 | 1.72 MB | 1 年前3PyWebIO v1.6.3 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . 100 5 Indices and tables 111 6 Discussion and support 113 Python 模块索引 115 索引 117 i ii PyWebIO, 发布 1.6.3 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 button") put_buttons(['edit', 'delete'], onclick=[edit, delete]) 在 1.5 版更改: Add disabled button support. The value of button can be any object. pywebio.output.put_button(label, onclick, color=None, small=None setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO0 码力 | 123 页 | 1.72 MB | 1 年前3PyWebIO v1.6.1 使用手册
. . . . . . . . . . . . . . . . . . . . . . . . 100 5 Indices and tables 111 6 Discussion and support 113 Python 模块索引 115 索引 117 i ii PyWebIO, 发布 1.6.1 PyWebIO 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 button") put_buttons(['edit', 'delete'], onclick=[edit, delete]) 在 1.5 版更改: Add disabled button support. The value of button can be any object. pywebio.output.put_button(label, onclick, color=None, small=None setTimeout(() => { resolve('Returned inside callback.'); }, 2000); });''') 在 1.3 版更改: The JS expression support return promise. pywebio.session.register_thread(thread: threading.Thread) 注册线程,以便在线程内调用 PyWebIO0 码力 | 123 页 | 1.72 MB | 1 年前3
共 483 条
- 1
- 2
- 3
- 4
- 5
- 6
- 49