eryksun added the comment:
Did you mark the variable for export in your shell? For example:
$ v=1
$ python -c 'import os;print os.environ.get("v")'
None
$ export v
$ python -c 'import os;print os.environ.get("v")'
1
----------
nosy: +eryksun
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24971>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com