newtie
newtie

Reputation: 31

Folders visible when opening jupyter notebooks

When I open Jupyter Notebooks, I see all of the folders under "Owner" on my computer (including My Documents, My Pictures, etc). I wanted to see if there was any way that I could install Anaconda or use Jupyter notebooks so that these folders are not seen. Having all of those folders clutters the screen, I just want folders for my datasets and notebooks.

In addition, when I open it in localhost and I see these folders (My Documents, My Pictures).

Does this mean that these files are copied onto python's servers? Or would it only be accessible from my computer?

Upvotes: 2

Views: 7897

Answers (3)

Jek821
Jek821

Reputation: 1

Before you use conda activate on your environment, cd into the directory that has your env folder in it.

Upvotes: 0

Abdulrahman Bres
Abdulrahman Bres

Reputation: 2923

You can change the default directory of Jupyter Notebook.

  1. Go to .jupyter folder. It's usually in <USER NAME>/.jupyter

  2. Open the config file jupyter_notebook_config.py in a text editor

  3. If the file was missing, create it first by running the command: jupyter notebook --generate-config

  4. Change it at: c.NotebookApp.notebook_dir = 'D:/'

Upvotes: 2

kgkmeekg
kgkmeekg

Reputation: 534

If someone is a complete newbie to using Jupyter Notebook, like me, then here's the elaboration to Yasin Yousif and ALollz comments:

  1. Open Jupyter Notebook which results in the Juyter Dashboard.
  2. Open new terminal from here.

enter image description here

  1. This is where the solutions suggested by Yasin Yousif and ALollz need to be implemented:

enter image description here

Upvotes: 2

Related Questions