[IPython-dev] How to get the notebook name/path in the kernel?
Wed Feb 26 12:11:03 CST 2014
On 26 February 2014 09:35, Konrad Hinsen <firstname.lastname@example.org> wrote:
> During initialization, my kernel needs to know the name and path of
> the notebook that it is attached to. I don't see an obvious way to
> get this information.
I don't think there is a good way to get that: the design is specifically
that the kernel is an engine to run code, and should not know where that
code is coming from.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev