1.首先安裝一個編輯器,下載鏈接放出
鏈接: https://pan.baidu.com/s/1c0cm8A 密碼: ucie
2.打開sublime3
工具-->編譯系統-->編譯新系統
會出現如下界面
將裏面的文字改寫成
{ "cmd": ["C:/Python34/python.exe","-u","$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python", "encoding": "cp936", }
Ctrl+s保存
打開一個py文件hello.py 點工具-->編譯系統-->python3_run
Ctrl+b 執行