PyCharm怎么安裝?pycharm安裝工具包怎么安裝?PyCharm傻瓜式安裝教程
來源: 三好IT網(wǎng) 2023-05-25 13:52:04
PyCharm2017漢化版是由JetBrains打造的一款Python IDE,主要服務(wù)于python語言,可以進行調(diào)試、語法高亮、代碼跳轉(zhuǎn)、智能提示、自動完成、單元測試等功能。PyCharm2017版本在原來的基礎(chǔ)上增加了一些實用功能,包括集成的單元測試、可自定義、可擴展等,使用起來更方便。
PyCharm 2017安裝教程:
1、下載軟件雙擊進行安裝,點擊NEXT;
2、選擇安裝目錄
3、創(chuàng)建桌面快捷方式
4、點擊install開始安裝
5、安裝完成后不要運行
漢化方法
down]561297[/down]
2、將C:\Program Files (x86)\JetBrains\PyCharm 2017\lib目錄下的resources_en.jar文件復制出來,并更名為resources_cn.jar
3、雙擊打開resources_cn.jar(注意是打開而不是解壓出來),將下載的漢化包zh_CN目錄下的所有文件拖到剛才打開的resources_cn.jar文件內(nèi)的messages目錄中,并保存
4、將resources_cn.jar文件復制回C:\Program Files (x86)\JetBrains\PyCharm 2017\lib目錄
完畢!
PyCharm2017使用教程
PyCharm怎么用?
1,點擊Create New Project.
2, 輸入項目名、路徑、選擇python解釋器。如果沒有出現(xiàn)python解釋器,進入步驟3.
3,選擇python解釋器??梢钥吹?,一旦添加了python解釋器,pycharm就會掃描出你已經(jīng)安裝的python擴展包,和這些擴展包的最新版本。(估計是pycharm連接了pypi)
4,點擊OK之后,就會創(chuàng)建一個空項目,里面包含一個.idea的文件夾,用于pycharm管理項目。
5,好了,寫一個新的項目嘗試一下pycharm吧!
PyCharm設(shè)置教程
PyCharm如何進行設(shè)置?
1.設(shè)置默認PyCharm解析器:
操作如下:
Python–>Preferences–>Project Interpreter–>Python Interpreter點擊“+”號選擇系統(tǒng)安裝的Python。
然后再返回Project Interpreter,選擇剛添加的解釋器。
2.設(shè)置縮進符為制表符“Tab”
File -> Default Settings -> Code Style
-> General -> 勾選“Use tab character”
-> Python -> 勾選“Use tab character”
-> 其他的語言代碼同理設(shè)置
3.設(shè)置IDE皮膚主題
File -> Settings -> IDE Settings -> Appearance -> Theme -> 選擇“Alloy.IDEA Theme”
4.顯示“行號”與“空白字符”
File -> Settings -> IDE Settings -> Editor -> Appearance
-> 勾選“Show line numbers”、“Show whitespaces”、“Show method separators”
5.設(shè)置編輯器“顏色與字體”主題
File -> Settings -> IDE Settings -> Editor -> Colors & Fonts -> Scheme name -> 選擇“Darcula”
說明:先選擇“Darcula”,再“Save As”一份,命名為“qianyunlai.com”,因為默認的主題是“只讀的”,一些字體大小顏色什么的都不能修改,拷貝一份后方可修改!
修改字體大小
File -> Settings -> IDE Settings -> Editor -> Colors & Fonts -> Font -> Size -> 設(shè)置為“14”
6.去掉默認折疊
File -> Settings -> IDE Settings -> Editor -> Code Folding -> Collapse by default -> 全部去掉勾選
7.“代碼自動完成”時間延時設(shè)置
File -> Settings -> IDE Settings -> Editor -> Code Completion
-> Auto code completion in (ms):0
-> Autopopup in (ms):500
8.修改IDE快捷鍵方案
File -> Settings -> IDE Settings -> Keymap
系統(tǒng)自帶了好幾種快捷鍵方案,下拉框中有如“defaul”,“Visual Studio”,在查找Bug時非常有用,“NetBeans 6.5”,“Default for GNOME”等等可選項,
因為“Eclipse”方案比較大眾,個人用的也比較多,最終選擇了“Eclipse”。
還是有幾個常用的快捷鍵跟Eclipse不一樣,為了能修改,還得先對Eclipse方案拷貝一份:
(1).代碼提示功能,默認是【Ctrl+空格】,現(xiàn)改為跟Eclipse一樣,即【Alt+/】
Main menu -> code -> Completion -> Basic -> 設(shè)置為“Alt+/”
Main menu -> code -> Completion -> SmartType -> 設(shè)置為“Alt+Shift+/”
不過“Alt+/”默認又被
Main menu -> code -> Completion -> Basic -> Cyclic Expand Word 占用,先把它刪除再說吧(單擊右鍵刪除)!
(2).關(guān)閉當前文檔,默認是【Ctrl+F4】,現(xiàn)改為跟Eclipse一樣,即【Ctrl+W】
Main menu -> Window -> Active Tool Window -> Close Active Tab -> 設(shè)置為 “Ctrl+F4”;
Main menu -> Window -> Editor -> Close -> 設(shè)置為 “Ctrl+W”;
以上就是PyCharm 2017安裝+漢化方法詳細圖文教程全部內(nèi)容的介紹,更多精彩內(nèi)容請繼續(xù)關(guān)注我們網(wǎng)站!
猜你喜歡

PyCharm怎么安裝?pycharm安裝工具包怎么安裝?PyCharm傻瓜式安裝教程
2023-05-25 13:52:04

PP蘋果助手怎么刷機?蘋果手機刷機方法
2023-05-25 13:51:43

迅雷快傳如何下載文件?迅雷怎么使用面對面快傳?
2023-05-25 13:49:16

ipad4怎么下載微信?ipad4不能下載app怎么辦?
2023-05-25 13:48:52

雙模雙待智能手機有哪些功能呢?雙卡雙待雙模是什么意思?
2023-05-25 13:48:30

如何下載樂視視頻?視頻剪輯軟件插件如何下載與添加?
2023-05-25 13:46:23

谷歌瀏覽器打不開網(wǎng)頁怎么解決?手機谷歌瀏覽器用什么加速器?
2023-05-25 13:45:55

三星忘了密碼怎樣恢復出廠設(shè)置?三星手機的出廠密碼新設(shè)置具體方法
2023-05-25 13:45:21

短信能屏蔽嗎?怎么屏蔽陌生短信不停的換號?
2023-05-25 13:43:11

什么是水貨手機?iPhone行貨與水貨有何區(qū)別?
2023-05-25 13:42:40

諾基亞智能手機報價大全 諾基亞第一款智能機性能評測
2023-05-25 13:42:20

怎么下載網(wǎng)頁上的視頻?如何把網(wǎng)頁的視頻下載到本地?
2023-05-25 13:38:32

如何進入bios設(shè)置界面?bois系統(tǒng)重裝詳細介紹
2023-05-25 13:38:10

電腦發(fā)明者是誰?電腦的作用有哪些?
2023-05-25 13:37:50

Win7系統(tǒng)激活序列號怎么找?如何查看Win7激活碼?
2023-05-25 13:33:56

DNF進不去是怎么回事?dnf啟動不了怎么辦?DNF進不去的解決方法
2023-05-25 13:33:33

如何用電腦發(fā)傳真?電腦文件夾被占用無法發(fā)送怎么辦?
2023-05-25 13:33:05

wlan是什么意思??LAN、WAN分別是指什么?
2023-05-25 13:30:49

移動空調(diào)怎么樣?移動空調(diào)和空調(diào)一體機哪個好?移動空調(diào)特點介紹
2023-05-25 13:30:22

電腦反應(yīng)慢是什么原因?Win10很卡頓怎么辦?
2023-05-25 13:29:33

微信怎樣看訪客足跡?怎么看朋友圈訪客記錄?
2023-05-25 13:26:38

outlook自動回復如何設(shè)置?outlook的自動回復設(shè)置方法
2023-05-25 13:26:15

收集數(shù)據(jù)的方法有哪些?獲取數(shù)據(jù)的方法有哪些?
2023-05-25 13:25:52

平價新茶飲行業(yè)的佼佼者:冰雪時光&蜜雪冰城
2023-05-25 10:40:59

競逐下沉市場,看冰雪時光&蜜雪冰城如何把握發(fā)展機遇
2023-05-25 10:40:43