Quick question:
I created a new environment var in the bash shell (using ubuntu) via export NUKE_GIZMO_PATH=/home/...
which seems to work as it is shown via printenv
and echo $NUKE_GIZMO_PATH
, however it doesn't seem to exist for python as
import os
print(os.environ['NUKE_....']) returrns a keyerror and
print(os.environ.get('NUKE_...')) returns none.
Here is my question: Why? ;D
EDIT: Closing and opening a new terminal seems to destroy the var?
Thanks and have a nice day.