On May 15, 1:09 pm, Minesh Patel <min...@gmail.com> wrote: > I am using ConfigParser to parse a config file and I want to maintain > the newlines, how is it possible. Example given below. BTW, is there > an alternative to configParser, should I use 'exec' instead. Is there > any support for yaml built-in or possibly in the future? >
The primary alternative to ConfigParser is Michael Foord's ConfigObj: http://www.voidspace.org.uk/python/configobj.html I don't know if it has yaml support or not though. Mike -- http://mail.python.org/mailman/listinfo/python-list