安裝Pycharm(方便編輯代碼的IDE(編輯器))以及 使用Pycharm新建項目
1、下載安裝Pycharm
首先要下載Pycharm這個軟件,官網的下載地址是: http://www.jetbrains.com/pycharm/download/#section=windowspython
![](http://static.javashuo.com/static/loading.gif)
一、選擇左邊的點擊進行下載,左邊的是專業版右邊是社區版
二、下載中:
![](http://static.javashuo.com/static/loading.gif)
三、找到文件安裝:
![](http://static.javashuo.com/static/loading.gif)
四、選擇安裝文件路徑:
![](http://static.javashuo.com/static/loading.gif)
四、下圖所示頁面無需過多關心,如圖中所示進行勾選便可
![](http://static.javashuo.com/static/loading.gif)
五、下圖所示頁面無需過多關心,直接點擊Install便可
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
六、出現以下圖所示頁面,表明安裝完成 , 選擇安裝完成後當即啓動
![](http://static.javashuo.com/static/loading.gif)
七、不要導入設置
![](http://static.javashuo.com/static/loading.gif)
八、選擇界面主題皮膚
![](http://static.javashuo.com/static/loading.gif)
九、選擇插件,按照本身喜愛選擇
![](http://static.javashuo.com/static/loading.gif)
十、使用激活碼激活Pycharm
![](http://static.javashuo.com/static/loading.gif)
十一、激活碼
![](http://static.javashuo.com/static/loading.gif)
2、使用Pycharm新建項目
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
(1)選擇新的工程文件的路徑
![](http://static.javashuo.com/static/loading.gif)
(2)設置代碼解釋器
(File -- Settings -- Project -- Project
Interpreter,這裏會顯示當前系統默認的解釋器,若是要添加別的解釋器,點擊工具圖標,Add local -- Existing
environment,點擊三點圖標,在打開的本地文件目錄中選擇解釋器文件的.exe文件。就好了,若是你沒有選擇,
PyCharm會自動選擇當前環境默認的解釋器)windows
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
(3)新建python文件
![](http://static.javashuo.com/static/loading.gif)
(4)編輯代碼,並運行
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)