Hi all, I exported a variable in my .bashrc as follows:
export MY_VAR="fdsfads" Then I soured the .bashrc and do the testing as follows: werner@debian-01:~$ python -c "import os; print os.environ['MY_VAR']" fdsfads But, when I run the same commands in pycharm and wing ide, I failed the obtain the value of this variable. I'm very confused with this issue. Any hints? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. -- https://mail.python.org/mailman/listinfo/python-list