pemtk.util.env

Env util routines for PEMtk

Module Contents

Functions

isnotebook()

Check if code is running in Jupyter Notebook.

pemtk.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?