On Mon, 2009-10-26 at 14:17 -0700, Mike Orr wrote:
> On Mon, Oct 26, 2009 at 1:48 PM, Iain Duncan <[email protected]> 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 from the pylons app, but I'd like to use whatever
> > is the standard in Pylons to do so.
> 
> Paste uses the obscurely-named
> ``paste.deploy.loadwsgi.NicerConfigParser``.  It's a small wrapper
> that's a bit smarter about "%(here)s" and the like.

Thanks Mike. Would you recommend I use the same thing, or is there a
better option for doing simple parsing of ini files for a python
package?

thanks
Iain




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to