PATH environment variable
Fredrik Lundh
fredrik at pythonware.com
Sun Nov 20 13:23:50 EST 2005
mirandacascade at yahoo.com wrote:
> Do these observations fit with what is stated in section 6.1.1 of the
> Python Library Reference?
yes. what part of your observations makes you think that the
environment isn't "captured" (i.e. copied from the process environ-
ment) when the os module is imported ?
(hint: when you start a new process, it gets a *copy* of the
current environment. changes to the original won't affect this
copy. all modern operating systems work the same way).
</F>
More information about the Python-list
mailing list