Thursday, April 5, 2018

Override Default Location of Jupyter Notebook file

This post is continue of  ArcGIS Pro, Conda, Jupyter Setup post. The default location of Jupter Notebook IronPython (*.ipynb) file is   C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3 - 
               import os
               print (os.getcwd())

To change the default location of Jypyter notebook script file(*ipynb) you need to configure

1. Genereate from following commandline  - 

                                 jupyter notebook --generate-config

2. will be created in C:\Users\<UserName>\.jupyter

3.  Open  and set following:
                 ## The directory to use for notebooks and kernels.
                  c.NotebookApp.notebook_dir = 'C:\JupyterScripts'

ArcGISPro , Jupyter


Post a Comment


© 2011 GIS and Remote Sensing Tools, Tips and more .. ToS | Privacy Policy | Sitemap

About Me