Environment variables not visible from Python
Ben Finney
ben+python at benfinney.id.au
Thu Sep 22 06:16:47 EDT 2011
Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
> I don't understand why some environment variables are not visible from
> Python.
Not all variables are environment variables. Variables only become
environment variables if exported to the environment; the ‘export’
command is one way to do that.
--
\ “As far as the laws of mathematics refer to reality, they are |
`\ not certain, and as far as they are certain, they do not refer |
_o__) to reality.” —Albert Einstein, 1983 |
Ben Finney
More information about the Python-list
mailing list