目錄
集成開發(fā)環(huán)境Pycharm得安裝
一、Pycharm得下載及安裝
jetbrains官網(wǎng):https://www.jetbrains.com.cn/
PyCharm官方下載網(wǎng)址:https://www.jetbrains.com.cn/pycharm/
PyCharm是一種Python得集成開發(fā)環(huán)境,帶有一整套可以幫助用戶在使用Python語言開發(fā)時提高效率得工具。
進入官網(wǎng)后:
步驟一
步驟二
步驟三
步驟四
步驟五
步驟六
步驟七
步驟八
二、pycharm得使用
1.雙擊圖標打開
2.選擇New Project
3.選擇目錄
4.選擇解釋器,OK后點擊Create
5.系統(tǒng)給我們創(chuàng)建了一個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模板得設(shè)設(shè)置
1.File-Settings
2.直接照著圖上詳細得步驟走
然后點擊OK即可
3.我們來新建一個demo.py文件試試效果
可以看到效果還是不錯噠。
到此這篇關(guān)于集成開發(fā)環(huán)境Pycharm得安裝及模板設(shè)置得內(nèi)容就介紹到這了,更多相關(guān)Pycharm安裝模板設(shè)置內(nèi)容請搜索之家以前得內(nèi)容或繼續(xù)瀏覽下面得相關(guān)內(nèi)容希望大家以后多多支持之家!
聲明:所有內(nèi)容來自互聯(lián)網(wǎng)搜索結(jié)果,不保證100%準確性,僅供參考。如若本站內(nèi)容侵犯了原著者的合法權(quán)益,可聯(lián)系我們進行處理。