PyWebIO v1.0.3 使用手册--force-reinstall https://code.aliyun.com/wang0618/pywebio/repository/archive.zip 系统要求: PyWebIO要求 Python 版本在 3.5.2 及以上 Hello, world 这是一个使用PyWebIO计算 BMI指数 [https://en.wikipedia.org/wiki/Body_mass_index] start_server(bmi, port=80) 便可以在80端口提供 bmi() 服务( 在线Demo [http://pywebio- demos.demo.wangweimin.site/?pywebio_api=bmi] )。 将 bmi() 服务整合到现有的Web框架请参考 与Web框架集成 Documentation 这个文档同时也提供 PDF 和 Epub 格式 [https://readthedocs O的用法感到不太习 惯,不同于传统Web开发的后端实现接口、前端进行展示交互的模式,在 PyWebIO中,所有的逻辑都通过编写Python代码实现。 你可以按照编写控制台程序的逻辑编写PyWebIO应用,只不过这里的终端变成 了浏览器。通过PyWebIO提供的命令式API, 你可以简单地调用 put_text 、 put_image 、 put_table 等函数输出文本、图片、表格等内容到浏览器,也可0 码力 | 106 页 | 7.34 MB | 1 年前3
PyWebIO v0.3.0 使用手册pip3 install -U https://code.aliyun.com/wang0618/pywebio/repository/archive.zip 系统要求: PyWebIO要求 Python 版本在 3.5.2 及以上 Hello, world 这是一个使用PyWebIO计算 BMI指数 [https://en.wikipedia.org/wiki/Body_mass_index] 'mode': "python", # 编辑区代码语言 'theme': 'darcula', # 编辑区darcula主题, Visit https://codemirror.net/demo/theme.html#cobalt to get more themes }, value='import something\n# Write your python code') 文本框的显示效果为: 支持在多线程环境中使用。 Script mode 在 Script mode 下,你可以自由地启动线程,并在其中调用PyWebIO的交互函 数。当所有非 Daemon线程 [https://docs.python.org/3/library/threading.html#thread-objects] 运行 结束后,脚本退出。 Server mode Server mode 下,由于对多会话的支持,如果需要在新创建的线程中使用0 码力 | 72 页 | 8.55 MB | 1 年前3
PyWebIO v1.2.3 Documentationhttps://code.aliyun.com/wang0618/pywebio/repository/archive.zip Prerequisites: PyWebIO requires Python 3.5.2 or newer Hello, world Here is a simple PyWebIO script to calculate the BMI [https://en.wikipedia start a bmi web service on port 80 ( online Demo [http://pywebio-demos.demo.wangweimin.site/?pywebio_api=bmi] ). If you want to integrate the bmi() service into an existing web framework, you can visit Integration the traditional web development patton that backend implement api and frontend display content. In PyWebIO, you only need write code in Python. In fact, the way of writing PyWebIO applications is more like0 码力 | 119 页 | 7.43 MB | 1 年前3
PyWebIO v1.2.2 Documentationhttps://code.aliyun.com/wang0618/pywebio/repository/archive.zip Prerequisites: PyWebIO requires Python 3.5.2 or newer Hello, world Here is a simple PyWebIO script to calculate the BMI [https://en.wikipedia start a bmi web service on port 80 ( online Demo [http://pywebio-demos.demo.wangweimin.site/?pywebio_api=bmi] ). If you want to integrate the bmi() service into an existing web framework, you can visit Integration the traditional web development patton that backend implement api and frontend display content. In PyWebIO, you only need write code in Python. In fact, the way of writing PyWebIO applications is more like0 码力 | 119 页 | 7.41 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 提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变成了一个“富 文本终端”,可以用于构建简单的 --force-reinstall https://code.aliyun.com/wang0618/pywebio/repository/ �→archive.zip 系统要求: PyWebIO 要求 Python 版本在 3.5.2 及以上 5 PyWebIO, 发布 1.0.3 6 Chapter 2. Install CHAPTER3 Hello, world 这是一个使用 PyWebIO 的用法感到不太习惯,不同于传统 Web 开发的后 端实现接口、前端进行展示交互的模式,在 PyWebIO 中,所有的逻辑都通过编写 Python 代码实现。 你可以按照编写控制台程序的逻辑编写 PyWebIO 应用,只不过这里的终端变成了浏览器。通过 PyWebIO 提 供的命令式 API,你可以简单地调用 put_text 、put_image 、put_table 等函数输出文本、图片、表格 等内容到浏览器,也可以调用0 码力 | 94 页 | 1.71 MB | 1 年前5
PyWebIO v0.3.0 使用手册. . . . . . . . . . . . . . . . . . . 53 5 Indices and tables 59 6 Discussion and support 61 Python 模块索引 63 索引 65 i ii PyWebIO, 发布 0.3.0 PyWebIO 是一个用于在浏览器上获取输入和进行输出的工具库。能够将原有的通过终端交互的脚本快速服务 化 pip3 install -U https://code.aliyun.com/wang0618/pywebio/repository/archive.zip 系统要求: PyWebIO 要求 Python 版本在 3.5.2 及以上 5 PyWebIO, 发布 0.3.0 6 Chapter 2. Install CHAPTER3 Hello, world 这是一个使用 PyWebIO 'mode': "python", # 编辑区代码语言 'theme': 'darcula', # 编辑区 darcula 主题, Visit https://codemirror.net/demo/theme. �→html#cobalt to get more themes }, value='import something\n# Write your python code') 文本框的显示效果为:0 码力 | 70 页 | 1.41 MB | 1 年前3
PyWebIO v1.2.3 使用手册pip3 install -U https://code.aliyun.com/wang0618/pywebio/repository/archive.zip 系统要求: PyWebIO要求 Python 版本在 3.5.2 及以上 Hello, world 这是一个使用PyWebIO计算 BMI指数 [https://en.wikipedia.org/wiki/Body_mass_index] start_server(bmi, port=80) 便可以在80端口提供 bmi() 服务( 在线Demo [http://pywebio- demos.demo.wangweimin.site/?pywebio_api=bmi] )。 将 bmi() 服务整合到现有的Web框架请参考 与Web框架集成 。 Documentation 这个文档同时也提供 PDF 和 Epub 格式 [https://readthedocs O的用法感到不太习 惯,不同于传统Web开发的后端实现接口、前端进行展示交互的模式,在 PyWebIO中,所有的逻辑都通过编写Python代码实现。 你可以按照编写控制台程序的逻辑编写PyWebIO应用,只不过这里的终端变成 了浏览器。通过PyWebIO提供的命令式API, 你可以简单地调用 put_text 、 put_image 、 put_table 等函数输出文本、图片、表格等内容到浏览器,也可0 码力 | 119 页 | 7.44 MB | 1 年前3
PyWebIO v1.2.2 使用手册pip3 install -U https://code.aliyun.com/wang0618/pywebio/repository/archive.zip 系统要求: PyWebIO要求 Python 版本在 3.5.2 及以上 Hello, world 这是一个使用PyWebIO计算 BMI指数 [https://en.wikipedia.org/wiki/Body_mass_index] start_server(bmi, port=80) 便可以在80端口提供 bmi() 服务( 在线Demo [http://pywebio- demos.demo.wangweimin.site/?pywebio_api=bmi] )。 将 bmi() 服务整合到现有的Web框架请参考 与Web框架集成 。 Documentation 这个文档同时也提供 PDF 和 Epub 格式 [https://readthedocs O的用法感到不太习 惯,不同于传统Web开发的后端实现接口、前端进行展示交互的模式,在 PyWebIO中,所有的逻辑都通过编写Python代码实现。 你可以按照编写控制台程序的逻辑编写PyWebIO应用,只不过这里的终端变成 了浏览器。通过PyWebIO提供的命令式API, 你可以简单地调用 put_text 、 put_image 、 put_table 等函数输出文本、图片、表格等内容到浏览器,也可0 码力 | 119 页 | 7.41 MB | 1 年前3
PyWebIO v1.1.0 使用手册pip3 install -U https://code.aliyun.com/wang0618/pywebio/repository/archive.zip 系统要求: PyWebIO要求 Python 版本在 3.5.2 及以上 Hello, world 这是一个使用PyWebIO计算 BMI指数 [https://en.wikipedia.org/wiki/Body_mass_index] start_server(bmi, port=80) 便可以在80端口提供 bmi() 服务( 在线Demo [http://pywebio- demos.demo.wangweimin.site/?pywebio_api=bmi] )。 将 bmi() 服务整合到现有的Web框架请参考 与Web框架集成 Documentation 这个文档同时也提供 PDF 和 Epub 格式 [https://readthedocs O的用法感到不太习 惯,不同于传统Web开发的后端实现接口、前端进行展示交互的模式,在 PyWebIO中,所有的逻辑都通过编写Python代码实现。 你可以按照编写控制台程序的逻辑编写PyWebIO应用,只不过这里的终端变成 了浏览器。通过PyWebIO提供的命令式API, 你可以简单地调用 put_text 、 put_image 、 put_table 等函数输出文本、图片、表格等内容到浏览器,也可0 码力 | 119 页 | 7.41 MB | 1 年前3
PyWebIO v1.8.1 Documentationinstall -U https://github.com/pywebio/PyWebIO/archive/dev- release.zip Prerequisites: PyWebIO requires Python 3.5.2 or newer Hello, world Here is a simple PyWebIO script to calculate the BMI [https://en.wikipedia traditional web development pattern that backend implement api and frontend display content. In PyWebIO, you only need to write code in Python. In fact, the way of writing PyWebIO applications is more like writing a console program, except that the terminal here becomes a browser. Using the imperative API provided by PyWebIO, you can simply call put_text(), put_image(), put_table() and other functions to0 码力 | 160 页 | 7.47 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













