[IPython-dev] Best way to detect IPython notebook
Thu Feb 20 13:41:56 CST 2014
On 20 February 2014 08:45, TARUN GABA <firstname.lastname@example.org> wrote:
> if get_ipython().config['KernelApp']['parent_appname'] ==
Be aware that:
- This only tells you what started the kernel - you can start a kernel with
the notebook and attach a Qt console to it, and there's no good way to tell
which one has sent a piece of code.
- We want to get rid of that value eventually:
As Matthias mentioned, can you tell us a bit more about what it is that
you're trying to do?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev