Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21661
| Date | 2012-03-14 22:48 -0400 |
|---|---|
| From | "Steven W. Orr" <steveo@syslang.net> |
| Organization | SysLang, Inc. |
| Subject | Re: Is there a ConfigParser which keeps comments |
| References | <jjpql7$b70$1@dough.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.670.1331814715.3037.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Is there a ConfigParser which keeps comments "Steven W. Orr" <steveo@syslang.net> - 2012-03-14 22:48 -0400
csiph-web