Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21661 > unrolled thread

Re: Is there a ConfigParser which keeps comments

Started by"Steven W. Orr" <steveo@syslang.net>
First post2012-03-14 22:48 -0400
Last post2012-03-14 22:48 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Is there a  ConfigParser which keeps comments "Steven W. Orr" <steveo@syslang.net> - 2012-03-14 22:48 -0400

#21661 — Re: Is there a ConfigParser which keeps comments

From"Steven W. Orr" <steveo@syslang.net>
Date2012-03-14 22:48 -0400
SubjectRe: Is there a ConfigParser which keeps comments
Message-ID<mailman.670.1331814715.3037.python-list@python.org>
On 3/14/2012 6:07 AM, Gelonida N wrote:
> Hi,
>
>
> At the moment I use ConfigParser
> http://docs.python.org/library/configparser.html
> for one of my applications.
>
>
> Now I'm looking for a library, which behaves like config parser, but
> with one minor difference.
>
> The write() mehtod should keep existing comments.
>
> Does anybody know or implement something like this or is there as
> switrch, that I overlooked in hte documentaiton.
>
>

I use ConfigObj.

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web