How to check python version that vim was compiled with?
下面的方法如果报错, 尝试用python3替代python(不import sys也不会报错)
方法1:
:python import sys; print(sys.version)
方法2:
:python << EOF
import sys
print(sys.version);
EOF
How to check python version that vim was compiled with?
下面的方法如果报错, 尝试用python3替代python(不import sys也不会报错)
方法1:
:python import sys; print(sys.version)
方法2:
:python << EOF
import sys
print(sys.version);
EOF
本文标题:查看vim中python的版本
本文链接:https://www.haomeiwen.com/subject/yxrmdttx.html
网友评论