使用python的人不可能不会接触jupyter notebook,因为它太实用了,尤其是边写代码边调试的时候。
pip install jupyter安装完成后,在命令行下运行:
jupyter notebook便会自动从浏览器打开。
在命令行输入以下命令生成配置文件:
jupyter notebook --generate-config
打开配置文件,找到c.NotebookApp.notebook_dir,去掉注释,并添加自己的启动目录

主题安装命令:
pip install jupterthemes使用 jt -l 可列出可用的主题名:

命令行参数:

我的主题配置:
jt -t monokai -f fira -fs 13 -cellw 90% -ofs 11 -dfs 11 -T -N调试似乎会有些问题,修改C:\Users\XXX\.jupyter\custom\custom.css文件,找到div.output_area语句块,修改为:
div.output_area {
display: -webkit-box;
padding: 13px;
}扩展安装命令:
pip install jupyter_nbextensions_configurator jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user重新启动jupyter notebook便可以使用,该扩展是一个集合,推荐使用一下扩展: