Jupyter Tidbit: Config, data, and runtime paths

February 03, 2019

This post originates from a gist that supports comments and forks.


You can get a list of standard paths Jupyter tools use for configuration, static assets, and temporary runtime files by running the command jupyter --paths.


When I run jupyter --paths on my laptop, I see the following output:


Why is this useful?

You can use the list of paths to locate and troubleshoot errant extensions and configuration values. You can also use the programmatic equivalents (e.g., import jupyter_core.paths in Python, var jp = require('jupyter-paths') in JavaScript) to read/write appropriate configs and data when building your own Jupyter compatible tools.

Another Read: Jupyter Tidbit: Display handles »

IPython's display() function can return a DisplayHandle object. You can use a DisplayHandle to update the output of one cell from any other cell in a Jupyter Notebook.