How to figure out the path of the current ipynb file from within IPython? · Issue #10123 · ipython/ipython

Is there a way to figure out the current ipynb file from within iPython? Usecase: I want to trigger simulations from within IPython. To keep everything documented, I want to copy the IPython notebo...