win32api.GetEnvironmentVariable

string = GetEnvironmentVariable(variable)

Retrieves the value of an environment variable.

Parameters

variable : string

The variable to get

Comments

Returns None if environment variable is not found

Win32 API References

Search for GetEnvironmentVariable at msdn, google or google groups.