In a jupyter notebook I have a bash jupyter cell as follows:
%%bash
export MYVAR="something"
I would like to access $MYVAR
in a different python cell. For example
print(MYVAR)
I would expect the cell to print "something", but I get a NameError message.