【jupter】安装设置
pip安装jupter之前要将pip更新至最新版
pip install jupyter 安装jupter
jupyter notebook -h 启动jupter,浏览器自动打开一个jupyter页面(页面显示的是C:\Users\I目录),地址默认为http://localhost:8888/tree
jupyter notebook --port 9999 启动jupter,指定端口为9999
Ctrl+c 终端结束jupyter,退出服务
详见:https://mp.weixin.qq.com/s/VLQQVQ0KgrOhgG-wPrLwWg
----------------------------------------------------------------------------------------------------------
jupyter 一些基础命令
Ctrl+Enter 执行单元格cell
jupyter有命令模式和编辑模式两种,当cell左侧为蓝色时为命令模式,为绿色时为编辑模式
点击cell区域,为编辑模式;点击cell区域之外(或是ESC键),进入命令模式
编辑模式下可以编写代码,命令模式下可以删除单元格cell(连续按两次D即可)