Is there a ConfigParser which keeps comments

Discussion in 'Python' started by Gelonida N, Mar 14, 2012.

  1. Gelonida N

    Gelonida N Guest

    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.
    Gelonida N, Mar 14, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    1,113
  2. Monk
    Replies:
    10
    Views:
    1,457
    Michael Wojcik
    Apr 20, 2005
  3. Joel Andres Granados

    Comments in ConfigParser module

    Joel Andres Granados, Apr 6, 2007, in forum: Python
    Replies:
    4
    Views:
    289
    Gabriel Genellina
    Apr 9, 2007
  4. Replies:
    3
    Views:
    428
  5. Replies:
    4
    Views:
    600
    Dr John Stockton
    Jun 3, 2006
Loading...

Share This Page