美文网首页
在 Windows Sublime 集成 Python 编译环境

在 Windows Sublime 集成 Python 编译环境

作者: 小叶与小茶 | 来源:发表于2018-07-03 19:18 被阅读16次

在我的另一篇文章:《在 MAC Sublime 集成 Python 编译环境》中详细介绍了在 MAC(也适用于 Linux)中的集成方法,Windows 其实非常类似,只是 Build 配置文件中的 “cmd” 稍微有点不同:

{ 
    "cmd": ["C:/Program Files (x86)/Python/python.exe", "-u", "$file"],
    "file_regex": "^[ ]File \"(…?)\", line ([0-9]*)", 
    "selector": "source.python",
    "encoding": "utf-8"
}

相关文章

网友评论

      本文标题:在 Windows Sublime 集成 Python 编译环境

      本文链接:https://www.haomeiwen.com/subject/uxbjuftx.html