方法
By default, the start directory for Jupyter Notebook used in ArcGIS API for Python is set to the following folder:
C:\Users\<User>
However, it is possible to start the Jupyter Notebook with a different directory through the Python Command Prompt or by modifying the Jupyter Notebook .py configuration file.
Use one of the solutions provided to start Jupyter Notebook in a different directory.
Temporarily start Jupyter Notebook in a different directory using the Python Command Prompt
jupyter notebook --notebook-dir [LOCATION]

Change the default directory by generating a config file
jupyter notebook --generate-config

C:\Users\[USER]\.jupyter
## The directory to use for notebooks and kernels. c.NotebookApp.notebook_dir = r'C:\Users\User\Desktop\Work\test'

記事 ID: 000018832
ArcGIS エキスパートのサポートを受ける
今すぐチャットを開始