nbproject.dev.notebook_path

nbproject.dev.notebook_path(return_env=False)

Return the path to the current notebook.

Parameters:

return_env (default: False) – If True, return the environment of execution: 'lab' for jupyter lab and 'notebook' for jupyter notebook.