win32api.GetEnvironmentVariableW
string = GetEnvironmentVariableW(Name)
Retrieves the unicode value of an environment variable.
Parameters
Name : str
The variable to retrieveWin32 API References
Search for GetEnvironmentVariableW at msdn, google or google groups.
Return Value
Returns None if environment variable is not found