Re: parsing ini files?

2009-10-26 Thread Ian Bicking
For whatever reason I didn't use it in Paste Deploy, but INITools is a separate config parser from ConfigParser, but compatible, and you can enable some typical options fairly easily (things like ${} parsing, similar to how buildout config files work): http://pythonpaste.org/initools/ On Mon, Oct

Re: parsing ini files?

2009-10-26 Thread Mike Orr
On Mon, Oct 26, 2009 at 2:59 PM, wrote: > > Iain, you're probably better off using python's ConfigParser module. > > http://docs.python.org/library/configparser.html#module-ConfigParser I use NicerConfigParser. It was written as a private class for loadwsgi (thus the obscure location), but if

Re: parsing ini files?

2009-10-26 Thread Iain Duncan
On Mon, 2009-10-26 at 14:59 -0700, pyl...@mailzilla.com wrote: > Iain, you're probably better off using python's ConfigParser module. > > http://docs.python.org/library/configparser.html#module-ConfigParser > > Phil Thanks Phil Iain --~--~-~--~~~---~--~~ Yo

Re: parsing ini files?

2009-10-26 Thread pylons
Iain, you're probably better off using python's ConfigParser module. http://docs.python.org/library/configparser.html#module-ConfigParser Phil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" grou

Re: parsing ini files?

2009-10-26 Thread Iain Duncan
On Mon, 2009-10-26 at 14:17 -0700, Mike Orr wrote: > On Mon, Oct 26, 2009 at 1:48 PM, Iain Duncan wrote: > > > > Hi folks, wondering if anyone can tell what Pylons (Paste?) uses for > > parsing the ini files. I'm breaking some of my app into it's own package > > and want to have it parse a local

Re: parsing ini files?

2009-10-26 Thread Mike Orr
On Mon, Oct 26, 2009 at 1:48 PM, Iain Duncan wrote: > > Hi folks, wondering if anyone can tell what Pylons (Paste?) uses for > parsing the ini files. I'm breaking some of my app into it's own package > and want to have it parse a local ini file if that component gets used > on it's own separately

parsing ini files?

2009-10-26 Thread Iain Duncan
Hi folks, wondering if anyone can tell what Pylons (Paste?) uses for parsing the ini files. I'm breaking some of my app into it's own package and want to have it parse a local ini file if that component gets used on it's own separately from the pylons app, but I'd like to use whatever is the stand