PyWebIO v0.3.0 使用手册debug (bool) – Tornado debug mode allowed_origins – 除当前域名外,服务器还允许的请求的来源列表。 来源 包含协议和域名和端口部分,允许使用 Unix shell 风格 的匹配模式: * 为通配符 ? 匹配单个字符 [seq] 匹配seq内的字符 [!seq] 匹配不在seq内的字符 比如 https://*.example.com 、 *://* ;任务函数为普通函数时,使用基于线 程的会话实现。 allowed_origins (list) – 除当前域名外,服务器还允许的请求的来源列表。 来源 包含协议和域名和端口部分,允许使用 Unix shell 风格 的匹配模式: * 为通配符 ? 匹配单个字符 [seq] 匹配seq内的字符 [!seq] 匹配不在seq内的字符 比如 https://*.example.com 、 *://* session_cleanup_interval (int) – 会话清理间隔。 allowed_origins (list) – 除当前域名外,服务器还允许的请求的来源列表。 来源 包含协议和域名和端口部分,允许使用 Unix shell 风格 的匹配模式: * 为通配符 ? 匹配单个字符 [seq] 匹配seq内的字符 [!seq] 匹配不在seq内的字符 比如 https://*.example.com 、 *://*0 码力 | 72 页 | 8.55 MB | 1 年前3
PyWebIO v0.3.0 使用手册debug (bool) –Tornado debug mode • allowed_origins –除当前域名外,服务器还允许的请求的来源列表。来源包含协 议和域名和端口部分,允许使用 Unix shell 风格的匹配模式: – * 为通配符 – ? 匹配单个字符 – [seq] 匹配 seq 内的字符 – [!seq] 匹配不在 seq 内的字符 比如 https://*.example 为普通函数时,使用基于线程的会话实现。 • allowed_origins (list) –除当前域名外,服务器还允许的请求的来源列表。来 源包含协议和域名和端口部分,允许使用 Unix shell 风格的匹配模式: – * 为通配符 – ? 匹配单个字符 – [seq] 匹配 seq 内的字符 – [!seq] 匹配不在 seq 内的字符 比如 https://*.example session_cleanup_interval (int) –会话清理间隔。 • allowed_origins (list) –除当前域名外,服务器还允许的请求的来源列表。来 源包含协议和域名和端口部分,允许使用 Unix shell 风格的匹配模式: – * 为通配符 – ? 匹配单个字符 – [seq] 匹配 seq 内的字符 – [!seq] 匹配不在 seq 内的字符 比如 https://*.example0 码力 | 70 页 | 1.41 MB | 1 年前3
PyWebIO v1.7.1 DocumentationThird-party library ecology. Note: If you use PyWebIO in interactive execution environment of Python shell, IPython or jupyter notebook, you need call show() method explicitly to show output: >>> put_text("Hello host is always allowed) The source contains the protocol, domain name, and port part. Can use Unix shell-style wildcards: – * matches everything – ? matches any single character – [seq] matches any character popup_input Show a form in popup window redirect_stdout redirecting stdout to pywebio run_shell Run command in shell put_logbox, logbox_append Logbox widget put_video Output video put_audio Output audio0 码力 | 112 页 | 1.38 MB | 1 年前3
PyWebIO v1.8.0 DocumentationThird-party library ecology. Note: If you use PyWebIO in interactive execution environment of Python shell, IPython or jupyter notebook, you need call show() method explicitly to show output: >>> put_text("Hello host is always allowed) The source contains the protocol, domain name, and port part. Can use Unix shell-style wildcards: – * matches everything – ? matches any single character – [seq] matches any character popup_input Show a form in popup window redirect_stdout redirecting stdout to pywebio run_shell Run command in shell put_logbox, logbox_append Logbox widget put_video Output video put_audio Output audio0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.2 DocumentationThird-party library ecology. Note: If you use PyWebIO in interactive execution environment of Python shell, IPython or jupyter notebook, you need call show() method explicitly to show output: >>> put_text("Hello host is always allowed) The source contains the protocol, domain name, and port part. Can use Unix shell-style wildcards: – * matches everything – ? matches any single character – [seq] matches any character popup_input Show a form in popup window redirect_stdout redirecting stdout to pywebio run_shell Run command in shell put_logbox, logbox_append Logbox widget put_video Output video put_audio Output audio0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.1 DocumentationThird-party library ecology. Note: If you use PyWebIO in interactive execution environment of Python shell, IPython or jupyter notebook, you need call show() method explicitly to show output: >>> put_text("Hello host is always allowed) The source contains the protocol, domain name, and port part. Can use Unix shell-style wildcards: – * matches everything – ? matches any single character – [seq] matches any character popup_input Show a form in popup window redirect_stdout redirecting stdout to pywebio run_shell Run command in shell put_logbox, logbox_append Logbox widget put_video Output video put_audio Output audio0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.7.1 使用手册�') PyWebIO 提供的全部输出函数见pywebio.output 模块。另外,PyWebIO 还支持一些第三方库来进行数据可视 化,参见第三方库生态 。 注解: 如果你在 Python shell, IPython 或 jupyter notebook 这种交互式执行环境中使用 PyWebIO,你需要显式调 用 show() 方法来显示输出: >>> put_text("Hello world reconnect_timeout 秒内可以重新连接并自动恢复会话。 • allowed_origins (list) –除当前域名外,服务器还允许的请求的来源列表。来 源包含协议、域名和端口部分,允许使用 Unix shell 风格的匹配模式: – * 为通配符 – ? 匹配单个字符 – [seq] 匹配 seq 中的任何字符 – [!seq] 匹配任何不在 seq 中的字符 比如 https://*.example popup_input Show a form in popup window redirect_stdout redirecting stdout to pywebio run_shell Run command in shell put_logbox, logbox_append Logbox widget put_video Output video put_audio Output audio0 码力 | 127 页 | 1.73 MB | 1 年前3
PyWebIO v1.7.1 DocumentationThird-party library ecology. Note If you use PyWebIO in interactive execution environment of Python shell, IPython or jupyter notebook, you need call show() method explicitly to show output: >>> put_text("Hello host is always allowed) The source contains the protocol, domain name, and port part. Can use Unix shell-style wildcards: * matches everything ? matches any single character [seq] matches any character popup_input Show a form in popup window redirect_stdout redirecting stdout to pywebio run_shell Run command in shell put_logbox, logbox_append Logbox widget put_video Output video put_audio Output audio0 码力 | 152 页 | 7.47 MB | 1 年前3
PyWebIO v1.6.1 DocumentationThird-party library ecology. Note: If you use PyWebIO in interactive execution environment of Python shell, IPython or jupyter notebook, you need call show() method explicitly to show output: >>> put_text("Hello host is always allowed) The source contains the protocol, domain name, and port part. Can use Unix shell-style wildcards: – * matches everything – ? matches any single character – [seq] matches any character popup_input Show a form in popup window redirect_stdout redirecting stdout to pywebio run_shell Run command in shell put_logbox, logbox_append Logbox widget Web application related Function name Description0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.2 DocumentationThird-party library ecology. Note: If you use PyWebIO in interactive execution environment of Python shell, IPython or jupyter notebook, you need call show() method explicitly to show output: >>> put_text("Hello host is always allowed) The source contains the protocol, domain name, and port part. Can use Unix shell-style wildcards: – * matches everything – ? matches any single character – [seq] matches any character popup_input Show a form in popup window redirect_stdout redirecting stdout to pywebio run_shell Run command in shell put_logbox, logbox_append Logbox widget Web application related Function name Description0 码力 | 108 页 | 1.37 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













