os.environ(x [,x]) raises an exception if the environmental variable does not exist. os.getenv(x) does not raise an exception ,but returns None.
转载于:https://www.cnblogs.com/fengye87626/p/10711009.html
转载于:https://www.cnblogs.com/fengye87626/p/10711009.html