Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to navigate to a parent directory in the jupyter tree?

Normally, I launch jupyter from a new bash terminal:

~$ jupyter notebook

and then navigate down the tree to the files I want to work at.

I just did it from a terminal that was already running at a different path:

~/blah/blah/blah$ jupyter notebook

and realized that that directory becomes the home for jupyter. I wanted to work at a file located at, say ~/blah/thingy/luis.ipynb, but couldn't find my way up.

How do I navigate the directory tree upwards in jupyter notebook?

like image 310
Luis Avatar asked Jul 09 '16 13:07

Luis


1 Answers

As explained in https://github.com/ipython/ipython/issues/7751, it is not possible to navigate to the parent directory for security reasons:

The kernel might not be python, nor on the same machine than the server, nor do you need a running kernel to use server API(s).

If you want, you can ask for more information in the aforementioned GitHub issue.

like image 195
edwinksl Avatar answered Oct 01 '22 03:10

edwinksl