
PyCharm 整合開發環境 安裝教學
各位好!今天要來分享,我之前使用過的很不錯的 Python IDE!「PyCharm」
PyCharm 是由捷克 JetBrains 公司所開發,給 Python 使用的整合開發環境。
目前它有兩個版本,分別為「Professional」和「Community」,其中 Community 是免費的,也是我們這次要安裝的版本。
準備好後,就開始往下教學:
1. 進入 PyCharm 官方網站

點「DOWNLOAD」按鈕到下載頁面

選擇好作業系統後,點 Community 底下的「Download」按鈕。

2. 下載好後點開安裝

點擊 Next 往下繼續安裝




等待安裝結束


到這裡就安裝完成了!
接著來簡單介紹一下,PyCharm 的用法。
3. 啟動 PyCharm


一開始打開是黑色介面,可以在 Customize 調整介面顏色。

在 Projects 點選「New Project」

輸入專案名稱後,點 Create。


我覺得長得有點像 Android Studio
接著來新增一個 Python 檔案
於左上角點選 File – New…
會開啟一個小窗,裡面再選 Python File
輸入完檔名後,再點兩下 Python file 就可以新建檔案了。


存檔點 Ctrl + S,或在左上角的 File,執行 Save All。

執行檔案
最後我們來執行檔案
這裡要注意的是,妳一開始直接點右上角的執行鈕,是不會執行 HelloWorld.py 的,因為一開始是選擇 main。

所以要先從上方功能列的 Run,執行底下的 Run…。


這次的教學就到這邊~~
如果覺得文章內容還不錯的話,麻煩請幫我點個讚!感謝
可以多點幾次喔~~
第一次點讚需使用 Google 或 Facebook 帳號註冊
