phenotypic.tools_.panel_.in_ipython#

phenotypic.tools_.panel_.in_ipython() bool[source]

Detect whether code is running inside any IPython session.

Returns:

True when an IPython kernel or terminal is active.

Return type:

bool