目錄
集成開發環境Pycharm得安裝
一、Pycharm得下載及安裝
jetbrains官網:https://www.jetbrains.com.cn/
PyCharm官方下載網址:https://www.jetbrains.com.cn/pycharm/
PyCharm是一種Python得集成開發環境,帶有一整套可以幫助用戶在使用Python語言開發時提高效率得工具。
進入官網后:
步驟一
步驟二
步驟三
步驟四
步驟五
步驟六
步驟七
步驟八
二、pycharm得使用
1.雙擊圖標打開
2.選擇New Project
3.選擇目錄
4.選擇解釋器,OK后點擊Create
5.系統給我們創建了一個main.py 得文件,里面得代碼
# This is a sample Python script.# Press Shift+F10 to execute it or replace it with your code.# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.def print_hi(name): # Use a breakpoint in the code line below to debug your script. print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.# Press the green button in the gutter to run the script.if __name__ == '__main__': print_hi('PyCharm')# See PyCharm help at https://www.jetbrains.com/help/pycharm/
直接右鍵運行
輸出:Hi,Pycharm
三、Pycharm模板得設設置
1.File-Settings
2.直接照著圖上詳細得步驟走
然后點擊OK即可
3.我們來新建一個demo.py文件試試效果
可以看到效果還是不錯噠。
到此這篇關于集成開發環境Pycharm得安裝及模板設置得內容就介紹到這了,更多相關Pycharm安裝模板設置內容請搜索之家以前得內容或繼續瀏覽下面得相關內容希望大家以后多多支持之家!
聲明:所有內容來自互聯網搜索結果,不保證100%準確性,僅供參考。如若本站內容侵犯了原著者的合法權益,可聯系我們進行處理。