— jupyter — 1 min read
I want everything organized like i have created a folder in 'D' drive to test Python scripts in Jupyter Notebooks. When starting jupyter notebook, it starts up in C:\Users\Sushanth
.
I am like "WHAT", there should be a way to change this. There should be a config file or settings somewhere to change this.
This is the point, where i am more worked up in changing this directory than coding some python scripts
I google a bit and find out there are two ways to do this and in my head 3 ways get this done,
.juypter
jupyter_notebook_config.py
1jupyter notebook --generate-config
c.NotebookApp.notebook_dir
. Its a commented line, so '#' found beginning of the line, delete it and add the path of your folder. Save the file. 1c.NotebookApp.notebook_dir = 'D:\\BigData\\12. Python\\4. Jupyter Notebooks'
Go into the desired folder
1C:\Users\Sushanth>d:2
3D:\>cd "BigData\12. Python\4. Jupyter Notebooks"
Enter the command
1jupyter notebook
Voila ( It works )
You installed Anaconda and started Jupyter Notebook to learn python. Does it matter actually where to you save it. Problem is even before starting Jupyter Notebook, you created a folder structure and decided to save your files there. Expectations. hmm.
Create a new folder in the default directory and start writing some scripts.
Thats it for now, go PLAY