双击打开ipython笔记本 [英] double click to open an ipython notebook
问题描述
如何通过双击打开Ipython笔记本?我总是cd到笔记本的目录,然后在浏览器中输入 ipython notebook
,然后在浏览器中打开它。这个步骤非常不方便。
How can I open Ipython notebook from double click? I always cd to the directory of the notebook, then type ipython notebook
in the browser and then open it in the browser. This steps is very inconvenient.
在Windows中,我记得我可以在浏览器中更改目录,但在linux中没有办法通过浏览器探索其他目录如果我想在另一个目录中打开一本新书,我必须重新启动另一个内核,这会让我很烦。
In windows, I remembered that I can change the directory in the browser, but in linux there is no way to explore to other directory via browser, if I want to open a new book in another directory, I have to restart another kernel as above, which annoys me.
有没有简单且经过验证的方法可以做这个?
Is there any simple and verified way to do this?
推荐答案
您可以使用像 nbopen 处理它并将在正确的笔记本上打开浏览器+启动一个IPython服务器(如果还没有运行)。
You can use a project like nbopen that handle that and will open the browser on the right notebook + start an IPython server if one is not yet running.
这篇关于双击打开ipython笔记本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!