[IPython-user] Re:: IPython install under Win2000

Jerry McRae qrs0xyc02 at sneakemail.com
Mon Jul 18 13:54:05 CDT 2005


Hi Alan,

You <A> wrote on Monday (7/18/2005 at 2:44 PM) thus about [Fwd] Re: [IPython-user] Re[2]: IPython install under Win2000:
>>> So in Win2000 and WinXP, in any case, relying on 
>>> USERPROFILE will work better than relying on HOME. 


A> 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']) 

A> Sure, and that works *because* %HOME% is not defined on 
A> WinXP. But on Win2000 (mine at least, which ought to be 
A> standard in this sense, since I have no clue how to change 
A> any of this), it is defined, to %USERPROFILE% (literally).  
A> So that creates a mess.

A> Cheers,
A> Alan Isaac

I have a solution for you.  My Computer -> properties -> advanced ->
Environment variables, then fix the HOME variable.  (YMMV and YCSMV)
;)

-- 
Jerry
___________________________
$ select * from USERS where clue > 0
0 Rows Returned


=========
(Python 2.3.5, IPython 0.6.13, Windows XP)




More information about the IPython-user mailing list