赵现刚 <[EMAIL PROTECTED]> added the comment:

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: [EMAIL PROTECTED]> From: [EMAIL PROTECTED]> Date: Mon, 24 
Nov 2008 09:00:33 +0000> > > Amaury Forgeot d'Arc <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>> 
<http://bugs.python.org/issue4402>> _______________________________________
_________________________________________________________________
MSN资讯快递,帮助你第一时间了解最新资讯!
http://im.live.cn/newsexpress

Added file: http://bugs.python.org/file12125/unnamed

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4402>
_______________________________________
<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
&nbsp;&nbsp;&nbsp;&nbsp; I have installed both py2.5 and py3.0rc3. I got the 
result as follows:<BR>
&nbsp;<BR>
1.py3.0&nbsp;&nbsp;: from the windows start menu--&gt;run, type in "python" 
,and py3.0 will startup(which I don't understand why),then execute <BR>
&nbsp;<BR>
import os<BR>sys_path=os.getenv('PATH')<BR>print(sys_path)<BR><BR>
will get the result.<BR>
&nbsp;<BR>
2.py2.5: First start the windows programme "cmd", and then type in "python", 
and py2.5 will startup,then&nbsp; also execute the code <BR>
import os<BR>sys_path=os.getenv('PATH')<BR>print(sys_path)<BR><BR>
will get the result.<BR>
&nbsp;<BR>
Thanks!<BR><BR>&gt; Subject: [issue4402] os.getenv('PATH') return different 
result between 2.5 and 3.0rc3<BR>&gt; To: [EMAIL PROTECTED]<BR>&gt; From: 
[EMAIL PROTECTED]<BR>&gt; Date: Mon, 24 Nov 2008 09:00:33 +0000<BR>&gt; 
<BR>&gt; <BR>&gt; Amaury Forgeot d'Arc &lt;[EMAIL PROTECTED]&gt; added the 
comment:<BR>&gt; <BR>&gt; I cannot reproduce this. Python does not modify the 
environment variables.<BR>&gt; How did you exactly start the python 
interpreters, 2.5 and 3.0?<BR>&gt; <BR>&gt; ----------<BR>&gt; nosy: 
+amaury.forgeotdarc<BR>&gt; <BR>&gt; 
_______________________________________<BR>&gt; Python tracker &lt;[EMAIL 
PROTECTED]&gt;<BR>&gt; &lt;http://bugs.python.org/issue4402&gt;<BR>&gt; 
_______________________________________<BR><BR><br /><hr />使用新一代 
Windows Live Messenger 轻松交流和共享! <a href='http://im.live.cn/' 
target='_new'>立刻下载!</a></body>
</html>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to