|
From: Andrew G. <mu...@gm...> - 2010-01-25 23:30:51
|
FWIW, I've done this in a couple isolated cases with the following naughty hack: cfg = ConfigObj(...) ... cfg.comments[section_name].insert(0, '') ~Andrew On Mon, Jan 25, 2010 at 5:05 PM, Brad McRae <bm...@tn...> wrote: > Hello, > > I'm switching over from ConfigParser, and so far have found configobj to be > very straightforward. > > The one thing I'd like to do is have a blank line between sections. This > was done automatically in ConfigParser, and makes it easier to manually edit > the config files. > > Is there a way to insert blank lines? > > Thanks, > Brad > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > > |