1. 程式人生 > >圖解使用sublime3編輯器運行python程序

圖解使用sublime3編輯器運行python程序

sublime3 python

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 執行

技術分享



本文出自 “左手右手” 博客,請務必保留此出處http://mofeihu.blog.51cto.com/1825994/1964002

圖解使用sublime3編輯器運行python程序