[IPython-dev] Get Notebook name in python
Erik Bray
erik.m.bray at gmail.com
Wed Jun 4 12:17:36 EDT 2014
On Tue, Jun 3, 2014 at 5: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!
There are a couple answers on Stack Overflow here:
http://stackoverflow.com/questions/12544056/how-to-i-get-the-current-ipython-notebook-name
Different answers for different IPython versions (mine now longer
works on 2.0 :( ).
That said, these are all hacks and most certainly unsupported and brittle.
Erik
More information about the IPython-dev
mailing list