tools—>build system—> new build system
{"cmd": ["/usr/bin/python3", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python"}
保存至默认目录下(文件最好重命名为Python3)
再按照第一行的目录选择Python3即可使用Python3运行当前代码
tools—>build system—> new build system
{"cmd": ["/usr/bin/python3", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python"}
保存至默认目录下(文件最好重命名为Python3)
再按照第一行的目录选择Python3即可使用Python3运行当前代码