How access jupyter notebook above level of my user account

32 views
Skip to first unread message

Murray Eisenberg

unread,
Apr 15, 2019, 5:16:33 PM4/15/19
to Project Jupyter
On my Mac (macOS 10.14.4), I'm running Jupyter Notebook 5.7.8 from within Anaconda Navigator 1.9.7. 

How do I browse there to a jupyter notebook that is in a folder I own but not within my own user folder (or subfolders thereof); the file is:

/Application\ Docs/Programming/Jupyter/jupyter_tutorial/jupyter_tutorial_01.ipynb 

The page http://localhost:8889/tree shows only folders inside my user folder, and I see no way to reach a higher level above that for some other folder in the root tree.

William Stein

unread,
Apr 15, 2019, 5:21:23 PM4/15/19
to jup...@googlegroups.com
You could use the Terminal to make a symbolic link, e.g., if you type

cd /Application\ Docs/Programming/Jupyter/jupyter_tutorial/; ln -s / root

in the terminal, you'll see a new folder called root from the Jupyter
file browser, and if you click on that, you'll be at the root of your
filesystem.

You can also use the terminal in Jupyter itself to make this symbolic link.

-- William
>
> --
> You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/d41cd408-170a-4239-b30b-56cca82a5486%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
William (http://wstein.org)

Murray Eisenberg

unread,
Apr 15, 2019, 5:55:44 PM4/15/19
to Project Jupyter
I had already tried a macOS alias, but that did not work; an actual symlink does. Thanks!


On Monday, April 15, 2019 at 5:21:23 PM UTC-4, William Stein wrote:
On Mon, Apr 15, 2019 at 2:16 PM Murray Eisenberg
<murraye...@gmail.com> wrote:
>
> On my Mac (macOS 10.14.4), I'm running Jupyter Notebook 5.7.8 from within Anaconda Navigator 1.9.7.
>
> How do I browse there to a jupyter notebook that is in a folder I own but not within my own user folder (or subfolders thereof); the file is:
>
> /Application\ Docs/Programming/Jupyter/jupyter_tutorial/jupyter_tutorial_01.ipynb
>
>
> The page http://localhost:8889/tree shows only folders inside my user folder, and I see no way to reach a higher level above that for some other folder in the root tree.

You could use the Terminal to make a symbolic link, e.g., if you type

   cd /Application\ Docs/Programming/Jupyter/jupyter_tutorial/; ln -s / root

in the terminal, you'll see a new folder called root from the Jupyter
file browser, and if you click on that, you'll be at the root of your
filesystem.

You can also use the terminal in Jupyter itself to make this symbolic link.

 -- William
>
> --
> You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jup...@googlegroups.com.

Kerwin Sun

unread,
Apr 15, 2019, 10:20:28 PM4/15/19
to jup...@googlegroups.com
You can find your config file like jupyter_notebook_config.py, and set  c.NotebookApp.notebook_dir = '/the/path/to/home/folder/'  in it. Maybe it works.


Murray Eisenberg <murraye...@gmail.com> 于2019年4月16日周二 上午5:55写道:
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages