[IPython-dev] Best way to detect IPython notebook
takowl at gmail.com
Thu Feb 20 14:41:56 EST 2014
On 20 February 2014 08:45, TARUN GABA <tarun.gaba7 at gmail.com> 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