vim端运行python的两种方法

This item was filled under [ 一步一步学习中 ]

运行Python脚本
runscript.vim这个插件还不错,安装后直接按F11便可以运行当前的python文件。(不过,只能适用于windows下)

如果不想用插件,可以用 :pyfile % 这样的命令来运行当前文件(我常用的方法)。当然,命令行上也可以。

Bookmark and Share
Tagged with: [ , ]

喜欢这篇文章的人还喜欢。。。

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Comment