Set an environment variable

Jorgen Grahn jgrahn-nntq at
Wed Oct 26 18:30:34 CEST 2005

On Wed, 26 Oct 2005 07:42:19 -0700, Alex Martelli <aleaxit at> wrote:
> Grant Edwards <grante at> wrote:
>> On 2005-10-24, Eric Brunel <eric_brunel at> wrote:
>> >> The only think you can export an environment variable to is a
>> >> child process
>> >
>> > Well, you know that, and I know that too. From my experience,
>> > many people don't...
>> True.  Using Unix for 20+ years probably warps one's perception
>> of what's obvious and what isn't.
> This specific issue is identical in Windows, isn't it?  I do not know
> any OS which does have the concept of "environment variable" yet lets
> such variables be ``exported'' to anything but a child process.

AmigaDOS, if I recall correctly. Its "ENV:" drive/namespace is global, and
that's its closest thing to Unix environment variables.


  // Jorgen Grahn <jgrahn@       Ph'nglui mglw'nafh Cthulhu
\X/      >   R'lyeh wgah'nagl fhtagn!

More information about the Python-list mailing list