A
Alec Wysoker
Could you explain a little more clearly what the problem is? In the implementation of expanduser in Python 2.3.4, it uses the value of HOME env var if it exists, otherwise, it uses HOMEDRIVE + HOMEPATH. I don't have access to a Win 2K machine right now, but my recollection is that when I did, HOMEDRIVE and HOMEPATH were set by Windows, so the right thing should happen.
Do you not have HOMEDRIVE + HOMEPATH set in your environment, e.g. if you open a CMD.exe window?
When you say that it returned %USERPROFILE%, do you mean that it returned that actual string, or the value of that env var?
Or is it that you want it to return the path to your My Documents directory, which is not necessarily the same thing as %HOME%?
Thanks, Alec
Do you not have HOMEDRIVE + HOMEPATH set in your environment, e.g. if you open a CMD.exe window?
When you say that it returned %USERPROFILE%, do you mean that it returned that actual string, or the value of that env var?
Or is it that you want it to return the path to your My Documents directory, which is not necessarily the same thing as %HOME%?
Thanks, Alec