os.environ.get returns variable as 'None', even though it can be echoed in terminal. (Python) (Mac OS Catalina)

前端 未结 0 1176
臣服心动
臣服心动 2021-01-02 12:01

I am trying to call a variable which has been exported in the .bash_profile file. This is how it has been written.

export TEST=\'test\'

After

相关标签:
回答
  • 消灭零回复
提交回复
热议问题