ST3新建py2和py3的build system
win7上同时装了py2和py3,在ST3中执行需要分别新建各自的build system:Tools->Build System->New Build System
py2:
{ "cmd": ["C:/Python27/python2.exe", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python", "env": {"PYTHONIOENCODING": "utf-8"} }
py3:
{ "cmd": ["C:/Python35/python3.exe", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python", "env": {"PYTHONIOENCODING": "utf-8"} }
浙公网安备 33010602011771号