<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/ec1a88dc0c96c34a67048d410b0496e4.png" /></p> <p> </p> <p>Python-Prompt-Toolkit是一个用于构建强大的交互式 Python 命令行环境的库。用好了就变成了 Python 中的 Vim 。</p> <p>特性:</p> <ul> <li> <p>纯 Python.</p> </li> <li> <p>输入时语法高亮</p> </li> <li> <p>多行输入编辑</p> </li> <li> <p>高级代码补全Advanced code completion.</p> </li> <li> <p>Emacs 和 Vi 键绑定(类似 readline)</p> </li> <li> <p>反向和正向增量搜索</p> </li> <li> <p>可在 Python 2.6 至 3.4 版本运行</p> </li> <li> <p>Unicode 双宽字符(中文输入)运行效果很好 。</p> </li> <li> <p>可选文本复制/粘贴 (Both Emacs and Vi style.)</p> </li> <li> <p>多输入缓冲</p> </li> <li> <p>没有全局的状态</p> </li> <li> <p>轻量级,唯一的依赖是 Pygments,six 和 wcwidth</p> </li> <li> <p>用心写的代码</p> </li> <li> <p>可在 Linux, OS X, OpenBSD 和 Windows 运行</p> </li> </ul> <h2>更新日志</h2> <ul> <li>Handle arguments in the $EDITOR and $VISUAL env variable.</li> <li>Added missing explicit loops for Futures in asyncio_posix eventloop.</li> <li>Fallback to default terminal size if reported as 0.</li> <li>Don't save undo state when receiving CPRResponse.</li> <li>Set VMIN terminal flag to 1 when entering raw mode. (Fixes a bug on Solaris.)</li> <li>Fix `previous_key_sequences`.</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4959004272423856329" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4959004272537301707" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/36dbe349">http://www.open-open.com/news/view/36dbe349</a></p>