Ipython 笔记本 link 到外部笔记本

Ipython notebook link to external notebook

我真的不知道为什么,但我不能 link 到当前工作目录的父文件夹中的文件。我确实在文件夹 04_documentation 中启动笔记本,并想引用 02_calculations

中的笔记本

文件夹结构为:

link看起来像[Link to working example](../02_calculations/sma_fit.ipynb)

如果文件在同一文件夹或子文件夹中,一切正常。但是,我无法跳转到父文件夹(404 错误)。知道为什么会这样吗?

Ipython notebook (3 and 2.3.1) answer in github

出于安全原因,您不能这样做。

You could start the notebook in / but have the default dashboard be something else. But by design navigating up --notebook-dir (default to .) and going into folders that start with . is not possible.

希望这就是您正在尝试的。