Environment variables not visible from Python

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Sep 22 13:09:00 CEST 2011

Ben Finney wrote:

> 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.

I see. Thank you to everyone who answered.


More information about the Python-list mailing list