[Baypiggies] configuration parser using python modules?

Akkana Peck akkana at shallowsky.com
Sun Jul 15 03:45:31 CEST 2012

Brent Tubbs writes:
> My peeve against ConfigParser is that if you want a list of things, you end
> up faking it with some incomplete-looking syntax
> [my_things]
> thing1 =
> thing2 =

If your things don't have to include newlines or initial spaces, you
can use ConfigParser's get_config_multiline, and have something like

things = My thing
  My second thing
  My third and last thing


More information about the Baypiggies mailing list