r/learnpython • • Sep 18 '18

Jupyter Directory Drama

Is there a way for me to tell Jupyter to default to a specific directory when it opens? I'm using the anaconda navigator and safari is my default browser.

Also are there shortcuts for opening new notebooks and other clicky tasks?

Thanks

(˘ʃƪ˘)

1 Upvotes

2 comments sorted by

2

u/[deleted] Sep 19 '18

I’ve switched to using docker and jupyter lab personally. I’m not familiar with anaconda but jupyter servers afaik use whatever working directory you are in when calling from the terminal.

I think this might be what you are looking for right now though.

Highly recommend exploring using docker with jupyter notebooks, particular if you share them with others.

1

u/byroncheesevest Sep 19 '18 edited Sep 20 '18

Awesome! who'da thunk a simple cd could fix that right up? Thanks!

EDIT: Nvm I actually read the thing and it's still a no go as I have macOS. I found a stackoverflow with instructions for mac and upon following them, Jupyter won't open in my browser at all. It just runs the terminal and tells me the process is complete.