New submission from Francis Greaves: I am running an up to date Gentoo Linux x86_64. using Python 2.7 I have an environment variable defined, so from the command line 'echo $XRIT_DECOMPRESS_PATH' gives '/usr/local/bin/xRITDecompress' however, in a Python script, 'cmd = os.environ.get('XRIT_DECOMPRESS_PATH')' gives 'None' as the output. Why is that?
---------- components: Interpreter Core messages: 249416 nosy: themetman priority: normal severity: normal status: open title: os.environ.get() does not return the Environment Value in Linux type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24971> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com