
- #Change default directory anaconda prompt how to
- #Change default directory anaconda prompt install
- #Change default directory anaconda prompt code
- #Change default directory anaconda prompt windows
By converting and configuring it, it becomes more convenient and easier to work with. Jupyter Lab is becoming one of the most convenient tools for the data scientist. If you have any icon file then you can also use that to set an icon for this application by giving the path of the icon file in properties options. Now you can see this shortcut on your desktop and click on it will launch jupyter lab. It will be in your python installation folder > scripts folder.Ĭlick on next and give any name you want to and finish. You will need to input jupyterlab.exe path here. Follow this path Right click on the desktop > New > Shortcut to create a shortcut link. It will open a window and will ask you to input location path. Selecting theme in Jupyter LabĪlso, we can make a shortcut on our desktop to launch jupyter. Light theme is also the default one and you can switch to dark one by going to setting in Jupyter lab and clicking on Jupyeterlab Dark. Jupyter lab has two inbuilt theme light and dark. It will launch Jupyter Lab like a standalone desktop app Jupyter Lab as chrome applicationĪnd Changing theme and making a shortcut for it We can also put these options in the configuration file and make it default launch by adding following in the notebook config file c.NotebookApp.browser = "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe -app=%s"
#Change default directory anaconda prompt windows
After this start chrome in application mode and paste above token by typing below command in windows search bar Chrome.exe -app=copied token

You will need to copy the token from the command prompt. It will launch Jupyter Lab without any browser. Let’s first do it manually:- $ jupyter lab -no-browser Either you can launch in this mode manually every time or we can save configuration for this in jupyter lab configuration file and make it as our default launch. It is useful as it will remove all the unnecessary toolbars and UI and gives a feeling of native application or IDE rather than a website running on your browser. We can use application mode of chrome browser to convert Jupyter Lab in a standalone desktop app. After changing default directory in Jupyter Lab Running it in chrome application mode You will notice that project view has fewer files and directory. You should use double quotes if there is any space in the directory path.Īfter changing the directory, relaunch the jupyter lab again. You will need to uncomment this by removing # and store the path of default desired directory there. Now, we can edit default directory location in this configuration file by defining the value of #c.NotebookApp.notebook_dir = ”. This will create a configuration file at c:/users/username/.jupyter/jupyter_notebook_config.py. For changing it, we will need to first generate jupyter lab configuration file. We can change the default directory so that it is easier to manage projects. As can be seen in the above picture, it will show all of the files in that folder which can make the whole setup very cluttered. Jupyter lab Changing default directoryīy default, Jupyter lab set up c:/users/username as the default directory. Now, Let’s launch Jupyter lab by typing jupyter lab in command prompt. You can skip it if it is already installed. The first command installs Jupyter notebook in your system. It is important to have Jupyter notebook installed before installing Jupyter Lab.
#Change default directory anaconda prompt install
If you are not using anaconda and have installed python separately, you can install it using Pip install jupyter If not you can install it using the command:- conda install - c conda - forge jupyterlab If you are using anaconda then most probably jupyter lab is already there. Installing jupyter lab is very easy and might depend on how you have installed python.
#Change default directory anaconda prompt how to
In this post, I will discuss how to install and configure it on windows so that it is more convenient to use.
#Change default directory anaconda prompt code
Jupyter lab has removed these shortcomings and has added new useful features such as running code blocks from text files, edit and view popular data files, rearrange cells by dragging them etc. but it was lagging in creating and running scripts or code from text files(.py. Notebook cell-based structure was very convenient for doing data exploration, model building etc. It has become one of the most preferred ways to code in data science field and academia.

Jupyter lab is an interactive development environment and the way forward for people using Jupyter notebook.
