window10下安裝pycharm
pycharm下載地址:https://www.jetbrains.com/pycharm/download/other.html
pycharm破解包jar:
1.將jetbrains-agent.jar文件放置在pycharm安裝的bin目錄下
2.修改D:\apps\PyCharm 2019.1.2\bin\pycharm64.exe.vmoptions,追加以下內(nèi)容
-javaagent:D:\apps\PyCharm 2019.1.2\bin\jetbrains-agent.jar
3.修改idea.properties
idea.config.path=D:/apps/PyCharm 2019.1.2/.PyCharm/config
idea.system.path=D:/apps/PyCharm 2019.1.2/.PyCharm/system
idea.plugins.path=D:/apps/PyCharm 2019.1.2/.PyCharm/plugins
idea.log.path=D:/apps/PyCharm 2019.1.2/.PyCharm/log
3.啟動(dòng)pycharm,help--register--選擇license server,填入:http://fls.jetbrains-agent.com,點(diǎn)擊activate
4.查看是否破解成功:help--about--有授權(quán)信息
5.漢化補(bǔ)?。簩esources_zh_CN_PyCharm_2019.1_r1.jar,放到軟件安裝路徑下的 lib 目錄中,重啟軟件即可。
pycharm使用教程
? 1.更換python解釋器:設(shè)置--project interprefer--選擇本地安裝的python.exe
? 2.調(diào)整編輯器字體及其大小:設(shè)置--font
? 3.調(diào)整控制臺(tái)的字體及其大?。涸O(shè)置--console Font
? 4.設(shè)置文件編碼:設(shè)置--file encodings
? 5.修改背景顏色:設(shè)置--color scheme
? 6.讓一個(gè) tab 鍵代替 4 個(gè)空格鍵:設(shè)置--code style--python
? 7.修改文件背景顏色:設(shè)置--常觀--text--default text
? 8.鼠標(biāo)滾動(dòng)控制字體大?。涸O(shè)置--常觀
? 9.設(shè)置代碼提示:設(shè)置--Code Completion
? 10.忽略大小寫設(shè)置:設(shè)置--Code Completion--取消勾選match case
? 11.方法分割符:設(shè)置--MethodSeparators
? 12.展示多張圖:設(shè)置-- Python Scientific --取消勾選 Show plots in tool window
? 自定義python模板文件: 設(shè)置-文件和代碼模板--python script
#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
project : $PROJECT_NAME
file_name : $NAME
author : minisummer
time : $DATE $TIME
month_name : '${MONTH_NAME_FULL}
desccription :
"""
pycharm插件安裝
1.markdown support:
2.Mongo Plugin:編輯器界面的右側(cè)(也可能是其他位置)看到Mongo Plugin的小圖標(biāo)了,如果沒有開啟Tool Buttons,可以從下圖所示位置啟動(dòng)這個(gè)插件。
3.IdeaVim:安裝IdeaVim并重啟Pycharm,在Tools下會(huì)多出一個(gè)Vim Emulator選項(xiàng),當(dāng)這個(gè)選項(xiàng)被勾選時(shí),說明Pycharm當(dāng)前正處于vim編輯狀態(tài),這時(shí)代碼中的光標(biāo)是一個(gè)閃動(dòng)的小方塊;取消勾選,又會(huì)回到正常的Pycharm編輯狀態(tài)。
4.Material Theme UI:,Material Theme UI是一個(gè)更改顯示風(fēng)格的插件。同時(shí)Material Theme UI也是一個(gè)通用的UI主題,在很多編輯器中都可以使用,所以很多人出于自己的風(fēng)格習(xí)慣,非常喜歡Material Theme UI的顯示風(fēng)格。
5.csv plugin
6.ansi plugin
7.IntelliBot
pycharm包管理
1.修改下載源:設(shè)置--project interprefer--點(diǎn)+號(hào)--點(diǎn)擊Manage Repositories--清華下載源:https://pypi.tuna.tsinghua.edu.cn/simple
2.修改下載源:設(shè)置--project interprefer--點(diǎn)+號(hào)--搜索欄輸入包名--下載包
jupyter notebook配置
1.生成.jupyter文件:jupyter notebook --generate-config
2.打開.jupyter文件,修改默認(rèn)工作路徑:c.NotebookApp.notebook_dir = 'D:\OneDrive\projects\jupyter notebook'
3.打開.jupyter文件,修改默認(rèn)端口:c.NotebookApp.port = 8889
4.在win開始菜單中找到j(luò)upyter notebook快捷圖標(biāo),鼠標(biāo)右鍵>>屬性>>快捷方式>>目標(biāo)
刪除最后的 "%USERPROFILE%/"
5.安裝擴(kuò)展包:conda install -c conda-forge jupyter_contrib_nbextensions
- Hinterland(自動(dòng)補(bǔ)全代碼)
- table of Contents(將markdown轉(zhuǎn)為目錄)
- ExecuteTime(自動(dòng)計(jì)算單元格運(yùn)行時(shí)間)
- Variable Inspector(代碼中的變量顯示)
- Highlight selected word(選中高亮)
- Code prettify,對(duì)代碼進(jìn)行格式化;
- Collapsible Headings,可以根據(jù)headings折疊區(qū)域;
- Codefolding,可以對(duì)代碼塊進(jìn)行折疊;
- ScrollDown,當(dāng)代碼輸出內(nèi)容過長(zhǎng),自動(dòng)下拉滾動(dòng)條;
- Table of Contents (2),根據(jù)markdown的標(biāo)題欄自動(dòng)生成目錄
6.運(yùn)行jupyter notebook,打開Nbextensions,勾選Table of Contents (有的版本是toc2). 然后創(chuàng)建或者打開一個(gè)Jupter Notebook,點(diǎn)擊目錄圖標(biāo)
jupyter notebook簡(jiǎn)介
jupyter notebook是一種 Web 應(yīng)用,能讓用戶將說明文本、數(shù)學(xué)方程、代碼和可視化內(nèi)容全部組合到一個(gè)易于共享的文檔中。它可以直接在代碼旁寫出敘述性文檔,而不是另外編寫單獨(dú)的文檔。也就是它可以能將代碼、文檔等這一切集中到一處,讓用戶一目了然。
jupyter notebook命令
幫助命令:
jupyter-notebook --help
jupyter-notebook --help-all (會(huì)顯示更詳細(xì)的信息)
jupyter-notebook -h
常用子命令:
jupyter notebook 啟動(dòng)
jupyter notebook list 列出當(dāng)前打開的notebook信息
jupyter-notebook stop 8888 關(guān)閉指定端口的notebook
jupyter-notebook --generate-config 產(chǎn)生默認(rèn)的配置文件
jupyter-notebook --no-browser 啟動(dòng)jupyter notebook之后不打開瀏覽器
jupyter notebook插入圖片
from IPython.display import Image
Image(filename = 'D:\OneDrive\projects\jupyter notebook\pythonbased\img\demo.JPG', width=300, height=200)
jupyter notebook設(shè)置中文
在D:\OneDrive\projects\jupyter notebook啟動(dòng)git bash,輸入命令啟動(dòng):jupyter notebook
pycharm安裝robotframework
? 1.安裝插件:IntelliBot
? 2.安裝rf相關(guān)庫(kù) :
? rf下載:https://pypi.org/project/robotframework/#files
? ride下載:https://pypi.org/project/robotframework-ride/#files
? wxPython下載:https://pypi.org/project/wxPython/4.0.0b2/#files
? 3.配置RF的文件類型識(shí)別:設(shè)置--file types--robot feature添加".txt" "."
? 4.配置sute:設(shè)置--tools--外部工具,點(diǎn)+號(hào)
? Robot Run TestSuite
? C:...\Python38\Scripts\pybot.bat
? -d results
?
? 5.配置case:
? Robot Run SingleTestCase
? C:...\Python38\Scripts\pybot.bat
? -d results -t "" ./
?
? 6.啟動(dòng)ride報(bào)錯(cuò):
? 在E:\Python27\lib\site-packages\robotide\application\application.py文件oninit(self)方法添加:
? self.locale = wx.Locale(wx.LANGUAGE_ENGLISH)
pycharm常用快捷鍵
alt+ctrl+s # 打開設(shè)置界面
tab # 選擇要縮進(jìn)的代碼,按鍵縮進(jìn)
shift+tab # 選擇要縮進(jìn)的代碼,按鍵增加
ctrl+d # 復(fù)制本行粘貼到下一行
ctrl+? # 擇要添加注釋的行,按鍵進(jìn)行#添加或去除
雙按shift # 全局搜索
ctrl+/ # 注釋
ctrl+F # 查找
ctrl+R # 查找替換
Shift + Alt # 列選擇
selenium-gird
下載地址:http://selenium-release.storage.googleapis.com/index.html
macOS下安裝pycharm
pycharm下載地址:https://www.jetbrains.com/pycharm/
pycharm破解包jar:
鏈接: https://pan.baidu.com/s/1hQUH0gjZYpxiksmMEwwKRQ 密碼: p09j
- pycharm安裝完成,啟動(dòng)pycharm,選擇免費(fèi)使用,進(jìn)入到pycharm頁(yè)面
- 然后將“jetbrains-agent-latest.zip”拖到任意位置(之后不要?jiǎng)h除),然后拖入,彈出對(duì)話框,點(diǎn)擊“Restart”重啟IDEA
- 選擇為pycharm安裝
- 查看help-register是否破解成功。
參考文章:http://www.itdecent.cn/p/e9ced1e1691e
漢化:打開Settings中的Pulgins,選擇Marketplace,搜索chinese
pycharm漢化
