[IPython-dev] Get Notebook name in python

MinRK benjaminrk at gmail.com
Tue Jun 3 17:10:25 EDT 2014


The kernel does not know that a notebook is associated with it because
there can be many frontends associated with the same kernel. If you really
need it for some reason, you could fetch it from the frontend via
javascript or a widget.


On Tue, Jun 3, 2014 at 2:01 PM, Jakob Gager <gager at ilsb.tuwien.ac.at> wrote:

> Hy guys,
>
> is there a way to get the current notebook name in python? Something
> similar to
> the javascript IPython.notebook.notebook_name.
>
> Thanks for the help!
>
> br
> Jakob
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140603/91a16e74/attachment.html>


More information about the IPython-dev mailing list