关于Jupyter Notebook的安装和简单操作
在官网安装python之后,打开cmd命令行,输入
将pip升级到最新版本
python -m pip install -U pip setuptools
安装Jupyter Notebook
pip install jupyter -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
Looking in indexes: http://pypi.douban.com/simple/
安装完成后,可以选择在任意路径执行如下命令
jupyter notebook
接下里会自动弹出窗口
点击python3之后创建Untitled.ipynb文件
可以单击文件名进行修改名字
输入代码运行(这里运行的快捷键是Shift + enter)