Re: Is there a ConfigParser which keeps comments

2012-03-15 Thread Steven W. Orr
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

Re: Is there a ConfigParser which keeps comments

2012-03-15 Thread Cameron Simpson
On 14Mar2012 13:13, Tim Chase python.l...@tim.thechases.com wrote: | On 03/14/12 12:06, Terry Reedy wrote: | On 3/14/2012 6:07 AM, Gelonida N wrote: | Now I'm looking for a library, which behaves like config parser, but | with one minor difference. | | The write() mehtod should keep existing

Re: Is there a ConfigParser which keeps comments

2012-03-15 Thread Karim
Le 15/03/2012 03:48, Steven W. Orr a écrit : 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

Re: Is there a ConfigParser which keeps comments

2012-03-15 Thread Gelonida N
On 03/15/2012 10:42 PM, Cameron Simpson wrote: On 14Mar2012 13:13, Tim Chase python.l...@tim.thechases.com wrote: | On 03/14/12 12:06, Terry Reedy wrote: | On 3/14/2012 6:07 AM, Gelonida N wrote: | Now I'm looking for a library, which behaves like config parser, but | with one minor

Is there a ConfigParser which keeps comments

2012-03-14 Thread Gelonida N
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

Re: Is there a ConfigParser which keeps comments

2012-03-14 Thread Terry Reedy
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

Re: Is there a ConfigParser which keeps comments

2012-03-14 Thread Tim Chase
On 03/14/12 12:06, Terry Reedy wrote: On 3/14/2012 6:07 AM, Gelonida N wrote: Now I'm looking for a library, which behaves like config parser, but with one minor difference. The write() mehtod should keep existing comments. Assuming that you have not overlooked anything, I would just