[Fwd] Re: [IPython-user] Re[2]: IPython install under Win2000
Alan G Isaac
aisaac at american.edu
Mon Jul 18 13:44:00 CDT 2005
>> So in Win2000 and WinXP, in any case, relying on
>> USERPROFILE will work better than relying on HOME.
On Mon, 18 Jul 2005, Fernando Perez apparently wrote:
> Well, for NT if $HOME is undefined, I use this:
> try:
> return
> os.path.join(os.environ['HOMEDRIVE'],os.environ['HOMEPATH'])
Sure, and that works *because* %HOME% is not defined on
WinXP. But on Win2000 (mine at least, which ought to be
standard in this sense, since I have no clue how to change
any of this), it is defined, to %USERPROFILE% (literally).
So that creates a mess.
Cheers,
Alan Isaac
More information about the IPython-user
mailing list