Sublime python 環境配置和交互加載

blog[sublime]:解決python環境和交互輸入問題。

file_name= python3.sublime-build          ~!

path:
{
    "cmd": ["python", "-u", "$file"],
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
    "selector": "source.python"
}
-------------------------------------------
交互:
package--->sublimerepl
tool--->sublimerepl--->python-->python run current file

用戶綁定操作:
[ {"keys":["f5"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command", "args":
{
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
}}
]

猜你喜欢

转载自www.cnblogs.com/chris-lin/p/10070100.html