— 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
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,
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:23D:\>cd "BigData\12. Python\4. Jupyter Notebooks"
Enter the command
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