ptpython:更好的Python REPL

时间:2021-04-28 14:37:58
【文件属性】:
文件名称:ptpython:更好的Python REPL
文件大小:414KB
文件格式:ZIP
更新时间:2021-04-28 14:37:58
Python ptpython 更好的Python REPL pip install ptpython Ptpython是高级Python REPL。 它应该适用于从2.6到3.9的所有Python版本,并且可以跨平台(Linux,BSD,OS X和Windows)运行。 注意:此版本的ptpython至少需要Python 3.6。 为旧版本的Python安装ptpython 2.0.5。 安装 使用pip安装它: pip install ptpython 通过输入ptpython启动它。 特征 语法突出显示。 多行编辑(向上箭头有效)。 自动补全。 鼠标支持。 [1] 支持配色方案。 支持[2]。 Vi和Emacs按键绑定。 支持双倍宽度(中文)字符。 ...还有许多其他事情。 [1]默认禁用。 (在菜单中启用。) [2]如果终端支持(大多数终端支持),则无需进入粘贴模式
【文件预览】:
ptpython-master
----MANIFEST.in(104B)
----README.rst(7KB)
----mypy.ini(128B)
----.github()
--------workflows()
----examples()
--------python-embed-with-custom-prompt.py(1KB)
--------python-embed.py(162B)
--------ptpython_config()
--------test-cases()
--------asyncio-python-embed.py(1KB)
--------python-input.py(217B)
--------asyncio-ssh-python-embed.py(1KB)
--------ssh-and-telnet-embed.py(1KB)
----LICENSE(1KB)
----setup.cfg(26B)
----setup.py(2KB)
----docs()
--------images()
--------concurrency-challenges.rst(4KB)
----tests()
--------run_tests.py(545B)
----.gitignore(675B)
----pyproject.toml(305B)
----ptpython()
--------entry_points()
--------python_input.py(40KB)
--------completer.py(23KB)
--------contrib()
--------repl.py(24KB)
--------utils.py(6KB)
--------ipython.py(9KB)
--------layout.py(27KB)
--------eventloop.py(2KB)
--------__init__.py(45B)
--------py.typed(0B)
--------__main__.py(119B)
--------lexer.py(947B)
--------key_bindings.py(9KB)
--------style.py(6KB)
--------filters.py(903B)
--------history_browser.py(21KB)
--------signatures.py(8KB)
--------prompt_style.py(2KB)
--------validator.py(2KB)
----CHANGELOG(13KB)

网友评论