python设置shell脚本所需要的环境变量PATH.
python能不能像linux终端里一样可以设置PATH这样的环境变量?python脚本os.putenv("fruit","apple")print "getenv fruit is ", os.getenv("fruit")会得到Noneos.environ["fruit"] = "apple"print "getenv fruit is ", os.g