epsproc.util.env module¶
ePSproc util functions for environment checks and related.
28/09/20 v1 Notebook checking fn. added, use for some types of display settings.
-
epsproc.util.env.
isnotebook
()[source]¶ Check if code is running in Jupyter Notebook.
Taken verbatim from https://exceptionshub.com/how-can-i-check-if-code-is-executed-in-the-ipython-notebook.html Might be a better/more robust way to do this?