sublime text3 配置Python2/Python3编译环境
环境:Win10
前提:已在Win10上同时配置好python2和python3的环境变量
(在cmd中输入python可进入python2,输入python3可进入python3)
这这个前提下,在sublime text3中选择默认的Python编译环境即使用python2进行编译,接下来配置python3编译环境
在sublime text3中选择Tools—Build System—New Build System,添加新的配置文件
1 | { |
直接另存为python3.sublime-build
即可