安裝了目錄插件,我們讀取python文本時就可以看到python文本目錄了,這樣方便查看代碼。
在 cmd黑色命令窗口或者anaconda prompt 執(zhí)行如下命令
第一步:更新pip
python -m pip install --upgrade pip
第二步:更新Jupyter
pip install --upgrade jupyter
第三步:安裝 jupyter_contrib_nbextensions
pip install jupyter_contrib_nbextensions
第四步:配置 nbextension
jupyter contrib nbextension install --user
第五步:啟動jupyter notebook
選擇 Nbextensions
勾選 Table of Contents
第六步:選做步驟,安裝Collapsible headings插件
勾選Collapsible headings----將標題內部的內容全部折疊起來
Code folding---代碼折疊插件,允許你將縮進內容折疊起來,節(jié)省屏幕空間
參考鏈接:https://blog.csdn.net/GD_little_radish/article/details/108084366
###安裝問題備注:
出現連接中斷之類的,做-i+國內源地址嘗試
例如:pip install --upgrade jupyter
加國內源地址: pip install --upgrade jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple
常用國內源地址
#清華大學源
https://pypi.tuna.tsinghua.edu.cn/simple
#阿里巴巴源
https://pypi.doubanio.com/simple
#中國科學技術大學源
https://pypi.mirrors.ustc.edu.cn/simple/
#豆瓣源
https://pypi.doubanio.com/simple








暫無數據