sublime 3 python环境

2018-02-15  本文已影响0人  b06de2cf84b6

tools->build system ->new buld system

{

    "shell_cmd": "D:\\ProgramData\\Anaconda3\\envs\\py3\\python3.exe -u \"$file\"",

    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",

    "selector": "source.python",

    "env": {"PYTHONIOENCODING": "utf-8"},

    "variants":

    [

        {

            "name": "Syntax Check",

            "shell_cmd": "python -m py_compile \"${file}\"",

        }

    ]

}

上一篇 下一篇

猜你喜欢

热点阅读