V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
DjvuLee
V2EX  ›  Python

VI 内置了 Python 解释器?

  •  
  •   DjvuLee · 2014-12-10 23:26:28 +08:00 · 3912 次点击
    这是一个创建于 3417 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我知道Emacs有一个内置的Lisp解释器,Sublime内置有一个python解释器。

    刚在ycombinator上看到有说vi现在内置有python解释器,在网上搜了一通,没有发现相关信息,求证一下?
    3 条回复    2014-12-12 12:37:49 +08:00
    jiangjun
        1
    jiangjun  
       2014-12-11 01:02:38 +08:00   ❤️ 3
    不是内置 Python 解释器。
    而是 vim 的 VimL 语言支持用 Python 写 vim 的插件,执行 vim 的命令吧。
    用 `vim --version | grep +python` 来检查当初编译时是否支持 python。

    http://segmentfault.com/blog/xuelang/1190000000756107
    jsfaint
        2
    jsfaint  
       2014-12-11 09:36:46 +08:00   ❤️ 1
    sublime没有内置python解释器啊,只是windows 版打包了一个进去,防止你os上没安装python而已
    vi根本不支持python,vim有python interface,可以支持用python写plugin,但是也没有内置python的说法
    dant
        3
    dant  
       2014-12-12 12:37:49 +08:00 via iPhone
    你那个 vi 其实是 Vim
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5251 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:21 · PVG 17:21 · LAX 02:21 · JFK 05:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.