PyWebIO v1.6.3 DocumentationFeatures 3 2 Installation 5 3 Hello, world 7 4 Documentation 9 4.1 User's guide 9 4.2 pywebio.input — Get input from web browser 22 4.3 pywebio.output — Make output to web browser 31 4.4 pywebio Here is a simple PyWebIO script to calculate the BMI # A simple script to calculate BMI from pywebio.input import input, FLOAT from pywebio.output import put_text def bmi(): height = input("Input happens. #### 4.1.1 Input The input functions are defined in the pywebio.input module and can be imported using from pywebio.input import *. When calling the input function, an input form will be popped0 码力 | 108 页 | 1.37 MB | 2 年前3
PyWebIO v1.5.1 DocumentationFeatures 3 2 Installation 5 3 Hello, world 7 4 Documentation 9 4.1 User's guide 9 4.2 pywebio.input — Get input from web browser 22 4.3 pywebio.output — Make output to web browser 31 4.4 pywebio Here is a simple PyWebIO script to calculate the BMI # A simple script to calculate BMI from pywebio.input import input, FLOAT from pywebio.output import put_text def bmi(): height = input("Input happens. #### 4.1.1 Input The input functions are defined in the pywebio.input module and can be imported using from pywebio.input import *. When calling the input function, an input form will be popped0 码力 | 108 页 | 1.37 MB | 2 年前3
PyWebIO v1.6.0 DocumentationFeatures 3 2 Installation 5 3 Hello, world 7 4 Documentation 9 4.1 User's guide 9 4.2 pywebio.input — Get input from web browser 22 4.3 pywebio.output — Make output to web browser 31 4.4 pywebio Here is a simple PyWebIO script to calculate the BMI # A simple script to calculate BMI from pywebio.input import input, FLOAT from pywebio.output import put_text def bmi(): height = input("Input happens. #### 4.1.1 Input The input functions are defined in the pywebio.input module and can be imported using from pywebio.input import *. When calling the input function, an input form will be popped0 码力 | 108 页 | 1.37 MB | 2 年前3
PyWebIO v1.4.0 使用手册## 使用手册 1 特性 2 Installation 3 Hello, world 4 Documentation 4.1 User's guide 4.2 pywebio.input — 输入模块 4.3 pywebio.output — 输出模块 4.4 pywebio.session — 会话相关 4.5 pywebio.platform — 应用部署 zip 系统要求: PyWebIO 要求 Python 版本在 3.5.2 及以上 Hello, world 这是一个使用 PyWebIO 计算 BMI 指数的脚本: from pywebio.input import input, FLOAT from pywebio.output import put_text def bmi(): height = input("请输入你的身高 PyWebIO 的绝大部分特性。本文档中大部分示例代码的右上方都有一个 Demo 链接,点击后可以在线预览代码的运行效果。 #### 4.1.1 输入 输入函数都定义在pywebio.input 模块中,可以使用 from pywebio.input import * 引入。 调用输入函数会在浏览器上弹出一个输入表单来获取输入。PyWebIO 的输入函数是阻塞式的(和 Python 内置的 input 一0 码力 | 115 页 | 1.70 MB | 2 年前3
PyWebIO v1.4.0 DocumentationFeatures 3 2 Installation 5 3 Hello, world 7 4 Documentation 9 4.1 User's guide 9 4.2 pywebio.input — Get input from web browser 22 4.3 pywebio.output — Make output to web browser 31 4.4 pywebio Here is a simple PyWebIO script to calculate the BMI # A simple script to calculate BMI from pywebio.input import input, FLOAT from pywebio.output import put_text def bmi(): height = input("Input happens. #### 4.1.1 Input The input functions are defined in the pywebio.input module and can be imported using from pywebio.input import *. When calling the input function, an input form will be popped0 码力 | 102 页 | 1.35 MB | 2 年前3
PyWebIO v0.3.0 使用手册org) ## 使用手册 1 特点 2 Install 3 Hello, world 4 Documentation 4.1 User's guide 4.2 pywebio.input — Get input from web browser 4.3 pywebio.output — Make output to web browser 4.4 pywebio.session 5.2 及以上 Hello, world 这是一个使用 PyWebIO 计算 BMI 指数的脚本: # A simple script to calculate BMI from pywebio.input import input, FLOAT from pywebio.output import put_text, set_output_fixed_height def bmi(): Documentation 这个文档同时也提供 PDF 和 Epub 格式. ### 4.1 User's guide #### 4.1.1 输入 输入函数都定义在pywebio.input 模块中,可以使用 from pywebio.input import * 引入。 基本输入 首先是一些基本类型的输入 文本输入: age = input("How old are you?"0 码力 | 70 页 | 1.41 MB | 2 年前3
PyWebIO v1.3.3 DocumentationFeatures 3 2 Installation 5 3 Hello, world 7 4 Documentation 9 4.1 User's guide 9 4.2 pywebio.input — Get input from web browser 28 4.3 pywebio.output — Make output to web browser 37 4.4 pywebio Here is a simple PyWebIO script to calculate the BMI # A simple script to calculate BMI from pywebio.input import input, FLOAT from pywebio.output import put_text def bmi(): height = input("Input code online. #### 4.1.1 Input The input functions are defined in the pywebio.input module and can be imported using from pywebio.input import *. When calling the input function, an input form will be popped0 码力 | 100 页 | 1.34 MB | 2 年前3
PyWebIO v1.3.1 DocumentationFeatures 3 2 Installation 5 3 Hello, world 7 4 Documentation 9 4.1 User's guide 9 4.2 pywebio.input — Get input from web browser 28 4.3 pywebio.output — Make output to web browser 37 4.4 pywebio Here is a simple PyWebIO script to calculate the BMI # A simple script to calculate BMI from pywebio.input import input, FLOAT from pywebio.output import put_text def bmi(): height = input("Input code online. #### 4.1.1 Input The input functions are defined in the pywebio.input module and can be imported using from pywebio.input import *. When calling the input function, an input form will be popped0 码力 | 100 页 | 1.34 MB | 2 年前3
PyWebIO v1.3.0 DocumentationFeatures 3 2 Installation 5 3 Hello, world 7 4 Documentation 9 4.1 User's guide 9 4.2 pywebio.input — Get input from web browser 28 4.3 pywebio.output — Make output to web browser 37 4.4 pywebio Here is a simple PyWebIO script to calculate the BMI # A simple script to calculate BMI from pywebio.input import input, FLOAT from pywebio.output import put_text def bmi(): height = input("Input code online. #### 4.1.1 Input The input functions are defined in the pywebio.input module and can be imported using from pywebio.input import *. When calling the input function, an input form will be popped0 码力 | 100 页 | 1.34 MB | 2 年前3
PyWebIO v1.3.2 DocumentationFeatures 3 2 Installation 5 3 Hello, world 7 4 Documentation 9 4.1 User's guide 9 4.2 pywebio.input — Get input from web browser 28 4.3 pywebio.output — Make output to web browser 37 4.4 pywebio Here is a simple PyWebIO script to calculate the BMI # A simple script to calculate BMI from pywebio.input import input, FLOAT from pywebio.output import put_text def bmi(): height = input("Input code online. #### 4.1.1 Input The input functions are defined in the pywebio.input module and can be imported using from pywebio.input import *. When calling the input function, an input form will be popped0 码力 | 100 页 | 1.34 MB | 2 年前3
共 77 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













