AmanSehgal
Honored Contributor III

You can get the notebook path using following code

dbutils.notebook.\
entry_point.getDbutils().\
notebook().\
getContext().\
notebookPath().\
value()

 Or, you can use Workspace APIs to list notebooks.