Message49622
Logged In: YES
user_id=38376
the os module generally uses the same name as the underlying
POSIX API. in this case, os.putenv maps to POSIX putenv(3)
and os.getenv maps to POSIX getenv(3).
there is a setenv() function available on some platforms,
which is more like:
def setenv(key, value, overwrite):
if not getenv(key) or overwrite:
putenv(key, value)
(why are you using these functions anyway? use the environ
dictionary, already!) |
|
Date |
User |
Action |
Args |
2007-08-23 15:46:10 | admin | link | issue1440928 messages |
2007-08-23 15:46:10 | admin | create | |
|