Environment Variables in Jupyter Notebook

Hi all. Enjoying HopsWorks! Quick question. What’s the best way to get private environment variables into a Jupyter Notebook running in HopsWorks?

Hi,

if it’s a Python notebook then you can just set them with Python: os.environ[“MY_VARIABLE”] = 1. Or do you want to share them between notebooks?

Thanks Steffan. It’s more that we wanted to share the notebook without sharing the variable but we can easily work around this with a placeholder.