[Idle-dev] config files
Tim Peters
tim_one@email.msn.com
Fri, 3 Mar 2000 21:48:20 -0500
[Jeremy Hylton]
> Question for Windows users: What is a natural place for a per-users
> config file? On Unix, I'm looking in "%s/.idle" % os.environ['HOME'].
> HOME is defined on Guido's Windows box, but I don't know that I can
> depend on it.
You cannot. Envars are to be avoided like the plague (or like Perl,
whichever you fear more, and if you believe there's a difference <wink>)
under Windows.
[Mark Hammond]
> I would suggest simply placing it in the Python directory - from
> sys.executable. Who ever complains that this is not sufficient
> gets to fix it ;-)
Agree with Mark. Name it idle.ini, for minimal Windows surprise and maximal
Windows portability.
or-".idle"-to-maximize-surprise-and-minimize-portability-ly y'rs - tim