sublime text3 安装 python环境配置
2015-07-05 本文已影响179人
大飞哥
3085以前的可以
其实sublime不注册也是可以用,只是会时不时会跳出来购买提醒
70美元,真是有点吃不消
—– BEGIN LICENSE —–
Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
942194A6 02396E98 E62C9979 4BB979FE
91424C9D A45400BF F6747D88 2FB88078
90F5CC94 1CDC92DC 8457107A F151657B
1D22E383 A997F016 42397640 33F41CFC
E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D
5CDB7036 E56DE1C0 EFCC0840 650CD3A6
B98FC99C 8FAC73EE D2B95564 DF450523
—— END LICENSE ——
3103 3126可用
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
93F6323C FD7F7544 3F39C318 D95E6480
FCCC7561 8A4A1741 68FA4223 ADCEDE07
200C25BE DBBC4855 C4CFB774 C5EC138C
0FEC1CEF D9DCECEC D3A5DAD1 01316C36
—— END LICENSE ——
python的话 装一个 repl
设置
{
"always_show_minimap_viewport": true,
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"default_encoding": "UTF-8",
"draw_minimap_border": true,
"font_face": "微软雅黑Monaco",
"font_size": 13,
"ignored_packages":
[
],
"save_on_focus_lost": true,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"update_check": false,
"word_wrap": true,
"wrap_width": 80
}
快捷键设置
[
{"keys":["f5"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command", "args":
{
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
}}, //若是添加,前一段需要添加','
{"keys": ["f8"],
"command": "markdown_preview",
"args":
{ "target": "browser"}
},
{"keys":["f2"],
"caption": "SublimeREPL: Python - Sublime Text Console",
"command": "run_existing_window_command", "args":
{
"id": "repl_sublime_python",
"file": "config/Sublime/Main.sublime-menu"
}},
{
"command": "add_current_time",
"keys": [
"ctrl+shift+."
]
},
{"keys":["f1"],
"caption": "Python - IPython",
"command": "run_existing_window_command", "args":
{
"id": "repl_python_ipython",
"file": "config/Python/Main.sublime-menu"
}},
{"keys": ["ctrl+alt+d"], "command": "docstring"}
]
然后在
Preferences -> Package Settings -> SublimeREPL -> Settings - User
添加
{
"default_extend_env": {"PATH":"C:\\python27\\"},
}
就好了