![PyCharm 整合開發環境 安裝教學 PyCharm 整合開發環境 安裝教學](https://i0.wp.com/i.imgur.com/Xa81Jon.png?resize=1140%2C641&ssl=1)
PyCharm 整合開發環境 安裝教學
各位好!今天要來分享,我之前使用過的很不錯的 Python IDE!「PyCharm」
PyCharm 是由捷克 JetBrains 公司所開發,給 Python 使用的整合開發環境。
目前它有兩個版本,分別為「Professional」和「Community」,其中 Community 是免費的,也是我們這次要安裝的版本。
準備好後,就開始往下教學:
1. 進入 PyCharm 官方網站
![](https://i0.wp.com/i.imgur.com/kgiAAFK.png?w=960&ssl=1)
點「DOWNLOAD」按鈕到下載頁面
![](https://i0.wp.com/i.imgur.com/llWBmzi.png?w=960&ssl=1)
選擇好作業系統後,點 Community 底下的「Download」按鈕。
![](https://i0.wp.com/i.imgur.com/IsZhqcM.png?w=960&ssl=1)
2. 下載好後點開安裝
![](https://i0.wp.com/i.imgur.com/jF8wZjW.png?w=960&ssl=1)
點擊 Next 往下繼續安裝
![](https://i0.wp.com/i.imgur.com/y1Kvtdx.png?w=960&ssl=1)
![](https://i0.wp.com/i.imgur.com/TADC7P4.png?w=960&ssl=1)
![](https://i0.wp.com/i.imgur.com/1eE74k9.png?w=960&ssl=1)
![](https://i0.wp.com/i.imgur.com/B7SAqeC.png?w=960&ssl=1)
等待安裝結束
![](https://i0.wp.com/i.imgur.com/UYhfClu.png?w=960&ssl=1)
![](https://i0.wp.com/i.imgur.com/lOgn0PE.png?w=960&ssl=1)
到這裡就安裝完成了!
接著來簡單介紹一下,PyCharm 的用法。
3. 啟動 PyCharm
![](https://i0.wp.com/i.imgur.com/LLVgab0.png?w=960&ssl=1)
![](https://i0.wp.com/i.imgur.com/yfnQ4QS.png?w=960&ssl=1)
一開始打開是黑色介面,可以在 Customize 調整介面顏色。
![](https://i0.wp.com/i.imgur.com/8ycdqZx.png?w=960&ssl=1)
在 Projects 點選「New Project」
![](https://i0.wp.com/i.imgur.com/0ZKQJSG.png?w=960&ssl=1)
輸入專案名稱後,點 Create。
![](https://i0.wp.com/i.imgur.com/D26X3Xv.png?w=960&ssl=1)
![](https://i0.wp.com/i.imgur.com/kL08eWR.png?w=960&ssl=1)
我覺得長得有點像 Android Studio
接著來新增一個 Python 檔案
於左上角點選 File – New…
會開啟一個小窗,裡面再選 Python File
輸入完檔名後,再點兩下 Python file 就可以新建檔案了。
![](https://i0.wp.com/i.imgur.com/fr4iWMF.png?w=960&ssl=1)
![](https://i0.wp.com/i.imgur.com/I7eU9Gy.png?w=960&ssl=1)
存檔點 Ctrl + S,或在左上角的 File,執行 Save All。
![](https://i0.wp.com/i.imgur.com/PWEeWDq.png?w=960&ssl=1)
執行檔案
最後我們來執行檔案
這裡要注意的是,妳一開始直接點右上角的執行鈕,是不會執行 HelloWorld.py 的,因為一開始是選擇 main。
![](https://i0.wp.com/i.imgur.com/vzf563G.png?w=960&ssl=1)
所以要先從上方功能列的 Run,執行底下的 Run…。
![](https://i0.wp.com/i.imgur.com/tD3Jx8L.png?w=960&ssl=1)
![](https://i0.wp.com/i.imgur.com/6jeoMEu.png?w=960&ssl=1)
這次的教學就到這邊~~
如果覺得文章內容還不錯的話,麻煩請幫我點個讚!感謝
可以多點幾次喔~~
第一次點讚需使用 Google 或 Facebook 帳號註冊
![1-1:Python 簡介 1-1:Python 簡介](https://i0.wp.com/i.imgur.com/Lfod605.png?resize=75%2C75&ssl=1)