pemtk.util.env module

Env util routines for PEMtk

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?