prompt_toolkit:用于在Python中构建强大的交互式命令行应用程序的库-python

时间:2021-06-18 18:03:21
【文件属性】:
文件名称:prompt_toolkit:用于在Python中构建强大的交互式命令行应用程序的库-python
文件大小:3.03MB
文件格式:ZIP
更新时间:2021-06-18 18:03:21
命令行工具 prompt_toolkit:用于在Python中构建强大的交互式命令行应用程序的库 Python Prompt Toolkit prompt_toolkit 是一个用于在 Python 中构建强大的交互式命令行应用程序的库。 阅读有关 readthedocs 的文档。 注意:prompt_toolkit 3.0 请注意这个分支是prompt_toolkit 3.0 分支。 对于大多数用户来说,它应该兼容 prompt_toolkit 2.0,但它至少需要 Python 3.6。 从好的方面来说,prompt_toolkit 3.0 是完全类型注释的,并且本机使用 asyncio。 Gallery ptpython 是一个交互式 Python Shell,构建在 prompt_toolkit 之上。 更多示例 prompt_toolkit 功能 prompt_toolkit 可以替代 GNU readline,但它可以远不止于此。 一些特性: 纯 Python。 打字时输入的语法高亮。 (例如,使用 Pygments 词法分析器。)多行输入编辑。 高级代码补全。

网友评论