[prev in list] [next in list] [prev in thread] [next in thread]
List: python-idle-dev
Subject: [Idle-dev] config files
From: tim_one () email ! msn ! com (Tim Peters)
Date: 2000-03-04 2:48:20
Message-ID: 000101bf8584$19c85580$c6a0143f () tim
[Download RAW message or body]
[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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic