最近学习时用到了jupyter notebook,这里简单说一下jupyter notebook的基础用法。

首先打开cmd,安装 jupyter

pip install jupyter

然后去  https://github.com/ipython/ipython-in-depth  下载一下IPython in-depth Tutorial

下载完成后。进入文件夹,键入jupyter notebook执行。

如何使用jupyter notebook

之后他会自动打开一个端口,并打开你的浏览器。

界面如下

如何使用jupyter notebook如何使用jupyter notebook

选择index.ipynb,进入引导页面。

如何使用jupyter notebook

然后可以如图新建文件了。

执行一下李老师的代码试试

如何使用jupyter notebook

成功了。

这个应用的精髓还不懂,不过简单使用还可以。

相关文章: