idlerc.py

Moshe Zadka moshez at math.huji.ac.il
Fri Feb 25 10:12:03 EST 2000


On Fri, 25 Feb 2000, Warren Postma wrote:

> > Now is there a way to put these color settings in an ".idlerc" of sorts so
> > they're kept from version to version without hacking any source?
> 
> How about checking your working (and home directory for unix} for an
> "idlerc.py" on Unix and if so, run it.
> 
> Problem with .idlerc is it's very Unix-ish and wouldn't fit in on Win32,
> whereas an INI file or Registry is very Windows-ish and not very Unix.
> 
> Compromise? :-)

No, polymorphism ;-)

Why not have a generic config-information searching API which is platform
specific and Python chooses which module which implements this API
based on platform. Think "os.path".
--
Moshe Zadka <mzadka at geocities.com>. 
INTERNET: Learn what you know.
Share what you don't.





More information about the Python-list mailing list