设置项目级别的Jupyter Notebook配置文件

时间:2019-08-22 14:55:20

标签: python jupyter-notebook config jupyter

我希望Jupyter Server对每个项目使用不同的<ul> <li> <a href="www.example.com/keywords/KW0001"> <span class="de">geliebter</span> <span class="en">lover</span> <span class="es">amante</span> <span class="fr">amant</span> <span class="it">amante</span> </a> (64) </li> <li> <a href="www.example.com/keywords/KW0002"> <span class="de">bischof</span> <span class="en">bishop</span> <span class="es">obispo</span> <span class="fr">évêque</span> <span class="it">vescovo</span> </a> (64) </li> </ul> 文件。当前,我的jupyter_notebook_config.py位于我的jupyter_notebook_config.py目录中。理想情况下,我希望能够将特定于项目的版本的配置文件放入每个项目的根目录中,并让Jupyter Server从那里加载它。我如何实现这个目标?

1 个答案:

答案 0 :(得分:1)

在为该项目运行Jupyter服务器时,您可以将JUPYTER_CONFIG_DIR变量设置为每个项目的根文件夹。

https://jupyter.readthedocs.io/en/latest/projects/jupyter-directories.html#configuration-files