***Install Anaconda***
Anaconda的安装注意勾选加入环境变量
***Install Sublime Text3***
官网下载 Sublime Text3 完成后。点击 Tools --> Install Package Control 安装 Package Control
然后点击 Preferences --> Package Control 输入 Install Package 点击 Package Control:Install Package
***REPL Plug-in unit***
点击 Package Control:Install Package 输入 SublimeREPL 进行安装(注意左下角*抽插)完成后点击 Preferences --> Key Bindings 复制以下内容(直接保存即可)
{
"keys": ["f5"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command",
"args": {
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
}
}
***Setting Python***
然后点击 Tools --> Build System --> New Build System 复制以下内容(Cmd后面改成自己Anaconda的Python路径)
{
"cmd": ["C:/Vientianes_Computers/Anaconda_Python/python.exe", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
并命名保存为 Run Python 然后就可以看到 Tools --> Build System --> Run Python 的选项点击选中并重启 F5 即可运行
By Vientianes | QQ:429642909 | 转载请注明出处 | Pythons