双击打开一个 ipython 笔记本 [英] double click to open an ipython notebook

查看:25
本文介绍了双击打开一个 ipython 笔记本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

相关帖子:双击打开 ipython notebook在 osx 上

如何双击打开Ipython notebook?我总是cd到notebook所在的目录,然后在浏览器中输入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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆