These are chat archives for ipython/ipython

10th
Jun 2015
Remi Rampin
@remram44
Jun 10 2015 15:30
Hi! I asked about a way to tell whether my API is getting called from the notebook or not
I was given this piece of code, which looked good: VisTrails/VisTrails@61c1bf7
however it cannot tell the notebook from the qtconsole
is there a way? Should I give up and require the user to call some function to signal he's using the notebook?
Min RK
@minrk
Jun 10 2015 15:37
There isn't a good way to determine that.
Remi Rampin
@remram44
Jun 10 2015 15:41
Roger that!