Author clive
Recipients amaury.forgeotdarc, clive
Date 2008-11-25.05:06:56
SpamBayes Score 0.000182686
Marked as misclassified No
Message-id <BAY112-W258B48AB172CA9742A171F20B0@phx.gbl>
In-reply-to <>
I have installed both py2.5 and py3.0rc3. I got the result as follows:

1.py3.0  : from the windows start menu-->run, type in "python" ,and py3.0 will startup(which I don't understand why),then execute 

import ossys_path=os.getenv('PATH')print(sys_path)
will get the result.

2.py2.5: First start the windows programme "cmd", and then type in "python", and py2.5 will startup,then  also execute the code 
import ossys_path=os.getenv('PATH')print(sys_path)
will get the result.

Thanks!> Subject: [issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3> To:> From:> Date: Mon, 24 Nov 2008 09:00:33 +0000> > > Amaury Forgeot d'Arc <> added the comment:> > I cannot reproduce this. Python does not modify the environment variables.> How did you exactly start the python interpreters, 2.5 and 3.0?> > ----------> nosy: +amaury.forgeotdarc> > _______________________________________> Python tracker <>> <>> _______________________________________
File name Uploaded
unnamed clive, 2008-11-25.05:06:55
Date User Action Args
2008-11-25 05:06:57clivesetrecipients: + clive, amaury.forgeotdarc
2008-11-25 05:06:56clivelinkissue4402 messages
2008-11-25 05:06:56clivecreate