20200901(jupyter notebook)

一、认识

1、jupyter notebook 简单介绍

看官网:https://jupyter.org/

2、安装:

终端输入:

pip install jupyter

3、打开:

在终端输入:

jupyter notebook

4、配置

  •  输入:
jupyter notebook --generate-config
  • 打开“C:UsersAdministrator.jupyter”文件夹,可以看到里面有个配置文件。 

  •  修改jupyter_notebook_config.py配置文件,打开这个配置文件,找到“c.NotebookApp.notebook_dir=……”,把路径改成自己的工作目录。

  •  配置文件修改完成后, 以后在 jupyter notebook 中写的代码等都会保存在自己创建的目录中。

二、使用

 

 

参考:https://blog.csdn.net/WilsonSong1024/article/details/81252362

原文地址:https://www.cnblogs.com/bltstop/p/13594409.html