PyWebIO v1.5.2 Documentationscripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive applications that don’t require a complicated user storage, it used to save data whose values are session specific. • run_js() let you execute JavaScript code in user’s browser, and eval_js() let you execute JavaScript expression and get the value of it. pin in this module. You might want to set some web page related configuration (such as SEO information, js and css injection) for your PyWebIO application, pywebio.config() can be helpful. Advanced features0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.0 Documentationscripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive applications that don’t require a complicated user storage, it used to save data whose values are session specific. • run_js() let you execute JavaScript code in user’s browser, and eval_js() let you execute JavaScript expression and get the value of it. pin in this module. You might want to set some web page related configuration (such as SEO information, js and css injection) for your PyWebIO application, pywebio.config() can be helpful. Advanced features0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.1 Documentationscripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive applications that don’t require a complicated user storage, it used to save data whose values are session specific. • run_js() let you execute JavaScript code in user’s browser, and eval_js() let you execute JavaScript expression and get the value of it. pin in this module. You might want to set some web page related configuration (such as SEO information, js and css injection) for your PyWebIO application, pywebio.config() can be helpful. Advanced features0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.1 Documentationscripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive applications that don’t require a complicated user storage, it used to save data whose values are session specific. run_js() let you execute JavaScript code in user’s browser, and eval_js() let you execute JavaScript expression and get the value of it. pin in this module. You might want to set some web page related configuration (such as SEO information, js and css injection) for your PyWebIO application, pywebio.config() can be helpful. Advanced features0 码力 | 144 页 | 7.46 MB | 1 年前3
PyWebIO v1.5.2 Documentationscripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive applications that don’t require a complicated user storage, it used to save data whose values are session specific. run_js() let you execute JavaScript code in user’s browser, and eval_js() let you execute JavaScript expression and get the value of it. pin in this module. You might want to set some web page related configuration (such as SEO information, js and css injection) for your PyWebIO application, pywebio.config() can be helpful. Advanced features0 码力 | 144 页 | 7.46 MB | 1 年前3
PyWebIO v1.5.0 Documentationscripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive applications that don’t require a complicated user storage, it used to save data whose values are session specific. run_js() let you execute JavaScript code in user’s browser, and eval_js() let you execute JavaScript expression and get the value of it. pin in this module. You might want to set some web page related configuration (such as SEO information, js and css injection) for your PyWebIO application, pywebio.config() can be helpful. Advanced features0 码力 | 144 页 | 7.46 MB | 1 年前3
PyWebIO v1.5.2 使用手册文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 GUI 应用。使用 PyWebIO,开发者能像编写终端 脚本一样 (基于 input 和 print 进行交互) 来编写应用,无需具备 HTML 和 JS 的相关知识;PyWebIO 还可以方 便地整合进现有的 Web 服务。非常适合快速构建对 UI 要求不高的应用。 使用手册 1 PyWebIO, 发布 1.5.2 2 使用手册 CHAPTER1 对象提供了关于当前绘画的很多信息,比如用户 IP 地址、用户语言、用户浏览器信息等。 • local 是一个 session-local 的存储对象, 用于存储会话独立的数据。 • run_js() 让你在用户浏览器中执行 JavaScript 代码, eval_js() 让你执行并获取 JavaScript 表达式的 值。 pin 模块 你已经知道,PyWebIO 的输入函数是阻塞式的,并且输入表单会在成功提交后消失。在某些时候,你可能想 每一行的前导空白锁进 • options (dict) –解析 Markdown 时的配置参数。PyWebIO 使用 marked 解析 Mark- down, 可配置项参见: https://marked.js.org/using_advanced#options (仅支持配置 string 和 boolean 类型的项) • sanitize (bool) –是否使用 DOMPurify 对内容进行过滤来防止0 码力 | 125 页 | 1.72 MB | 1 年前3
PyWebIO v1.5.0 使用手册文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 GUI 应用。使用 PyWebIO,开发者能像编写终端 脚本一样 (基于 input 和 print 进行交互) 来编写应用,无需具备 HTML 和 JS 的相关知识;PyWebIO 还可以方 便地整合进现有的 Web 服务。非常适合快速构建对 UI 要求不高的应用。 使用手册 1 PyWebIO, 发布 1.5.0 2 使用手册 CHAPTER1 对象提供了关于当前绘画的很多信息,比如用户 IP 地址、用户语言、用户浏览器信息等。 • local 是一个 session-local 的存储对象, 用于存储会话独立的数据。 • run_js() 让你在用户浏览器中执行 JavaScript 代码, eval_js() 让你执行并获取 JavaScript 表达式的 值。 pin 模块 你已经知道,PyWebIO 的输入函数是阻塞式的,并且输入表单会在成功提交后消失。在某些时候,你可能想 每一行的前导空白锁进 • options (dict) –解析 Markdown 时的配置参数。PyWebIO 使用 marked 解析 Mark- down, 可配置项参见: https://marked.js.org/using_advanced#options (仅支持配置 string 和 boolean 类型的项) • sanitize (bool) –是否使用 DOMPurify 对内容进行过滤来防止0 码力 | 125 页 | 1.72 MB | 1 年前3
PyWebIO v1.5.1 使用手册文本终端”,可以用于构建简单的 Web 应用或基于浏览器的 GUI 应用。使用 PyWebIO,开发者能像编写终端 脚本一样 (基于 input 和 print 进行交互) 来编写应用,无需具备 HTML 和 JS 的相关知识;PyWebIO 还可以方 便地整合进现有的 Web 服务。非常适合快速构建对 UI 要求不高的应用。 使用手册 1 PyWebIO, 发布 1.5.1 2 使用手册 CHAPTER1 对象提供了关于当前绘画的很多信息,比如用户 IP 地址、用户语言、用户浏览器信息等。 • local 是一个 session-local 的存储对象, 用于存储会话独立的数据。 • run_js() 让你在用户浏览器中执行 JavaScript 代码, eval_js() 让你执行并获取 JavaScript 表达式的 值。 pin 模块 你已经知道,PyWebIO 的输入函数是阻塞式的,并且输入表单会在成功提交后消失。在某些时候,你可能想 每一行的前导空白锁进 • options (dict) –解析 Markdown 时的配置参数。PyWebIO 使用 marked 解析 Mark- down, 可配置项参见: https://marked.js.org/using_advanced#options (仅支持配置 string 和 boolean 类型的项) • sanitize (bool) –是否使用 DOMPurify 对内容进行过滤来防止0 码力 | 125 页 | 1.72 MB | 1 年前3
PyWebIO v1.6.2 Documentationscripts (interaction based on input and print function), without the need to have knowledge of HTML and JS. PyWebIO is ideal for quickly building interactive applications that don’t require a complicated user storage, it used to save data whose values are session specific. • run_js() let you execute JavaScript code in user’s browser, and eval_js() let you execute JavaScript expression and get the value of it. pin in this module. You might want to set some web page related configuration (such as SEO information, js and css injection) for your PyWebIO application, pywebio.config() can be helpful. Advanced features0 码力 | 108 页 | 1.37 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













