Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21610 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2012-03-14 13:06 -0400 |
| Last post | 2012-03-14 13:06 -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.
Re: Is there a ConfigParser which keeps comments Terry Reedy <tjreedy@udel.edu> - 2012-03-14 13:06 -0400
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2012-03-14 13:06 -0400 |
| Subject | Re: Is there a ConfigParser which keeps comments |
| Message-ID | <mailman.638.1331744805.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. Assuming that you have not overlooked anything, I would just subclass ConfigParser with an altered write method. -- Terry Jan Reedy
Back to top | Article view | comp.lang.python
csiph-web