- 打开
cmd
,使用pip
下载并安装nbopen
:
pip install nbopen
python -m nbopen.install_win
- 安装后需要关联
.ipynb
和jupyter notebook
在命令行输入:
assoc .whl=jupyter& ftype jupyter=cmd.exe /c jupyter-notebook "%1"
缺点:这种方法只能是在已经打开了一个 jupyter notebook 后,再通过双击打开相同目录下的文件。
原文参见: http://axil.github.io/how-to-open-ipynb-file-with-one-doubleclick-on-windows.html