使用Sublime Text进行Python的编译 打开软件,选择Tools–>Build System–>New Build System 添加以下内容 { "cmd": ["Python安装路径", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "encoding": "cp936", "selector": "source.python" } 保存为Python3 选择Tools–>Build System–>Python3 即可