jupyter notebook被广泛使用,插件能大大提高效率。
准备工作1 下载选择插件的工具栏,进入cmd中输入:
pip install jupyter_contrib_nbextensions
2 将插件工具栏添加到jupyter notebook页面中,相当于安装工具栏,cmd中输入:
jupyter contrib nbextension install
3 进入jupyter notebook,cmd中输入:
jupyter notebook
可以看到Nbextensions工具栏
工具栏已经安装好,将disable configuration for nbextensions without explicit compatibility一栏去掉勾选,就可以选择下面想要的插件了。
coding时肯定需要自动填充功能,jupyter notebook默认的状态并不理想,此插件可以增加此功能。
2 Code prettify格式化代码,相当于pycharn中的Ctrl + Alt + L
3 Execute Time显示一个cell执行花费的时间



