.ini files - was Re: [Python-Dev] DLL in the system dir

Peter Funk pf@artcom-gmbh.de
Tue, 4 Apr 2000 20:48:11 +0200 (MEST)


Hi!

[...]
> > > 3. Contra MS guidelines, put all the config options you can in a text file
> > >        C:\name_of_app\name_of_app.ini
> > >    instead of the registry.

James C. Ahlstrom:
> This is an excellent practice, and there should be a standard module to
> deal
> with .ini files.  [...]

One half of it is already there in the standard library: 'ConfigParser'.  From 
my limited knowledge about windows (shrug) this can at least read .ini files.
Writing this info again out to a file shouldn't be too hard.

Regards, Peter