Need rewritable ConfigParser package

entropia entropiamax at jazzfree.com
Fri Sep 22 09:19:37 CEST 2000


I have looked at the changes of python2.0. I think that it's ConfigParser hava a write method

pehr anderson escribió:

> Dear Jake,
>
> I was rather frustrated with the current ConfigParser interface
> and from what I've heard, I'm not the only one.  I haven't
> written many parsers in my life so I can't really criticise it
> but it sure feels clunky.
>
> I would be delighted to help test a solution.
> I currently have a project that *needs* this but I
> haven't gotten around to writting it either.
>
> There must be others who feel the same way.
> I bet a good implementation could get included
> into the standard distribution for 2.0.
>
>         -pehr
>
> Jake Baker wrote:
> >
> >  I find myself needing the facilities of the ConfigParser package, but with the additional capability to modify members and rewrite the config file programatically. Specifically, the need on rewriting is this: update old members, add new ones, but do not remove comments from the file.
> >
> >  This isn't especially difficult, but if someone has already written it, I don't want to reinvent the wheel. If anyone knows where such a package is located, I would be greatly indebted.
> >
> > Thanks,
> >  - Jake Baker
> --
> http://www.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list