Closed moonpotato closed 8 years ago
On Windows, HOME is not always set, and the existing method may fail. os.path.expanduser is OS-agnostic ("On Windows, HOME and USERPROFILE will be used if set, otherwise a combination of HOMEPATH and HOMEDRIVE will be used.")
On Windows, HOME is not always set, and the existing method may fail. os.path.expanduser is OS-agnostic ("On Windows, HOME and USERPROFILE will be used if set, otherwise a combination of HOMEPATH and HOMEDRIVE will be used.")