本文是關於2018年7月最新版sublime text3+pythin3.x下載及安裝配置教程,sublime text3版本爲3176,python版本爲3.7,安裝環境是基於windows10。主要內容爲sublime text3的下載,安裝,配置基本插件和python3的下載,安裝及配置。css
{
"cmd": ["c:/Python37/python.exe", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9])*",
"selector": "source.python" }
其中c:/Python37/python.exe改成在你電腦中python.exe的位置,這樣經過ctrl+b就能夠直接運行出結果。
4. sublimeREPL插件使用
sublimeREPL的主要是用於程序的交互,便可以實現數據的輸入,詳情以下:在菜單欄中找到tools–>sublimeREPL–>python–>python run current file點擊便可運行程序
html