hello, On Fri, Mar 20, 2009 at 4:07 AM, Roy H. Han <[email protected]> wrote: > > Is there a better way to parse development.ini besides using > ConfigParser? >
i do it like this (when i want to get the value for sqlalchemy.url in development.ini): from pylons import config print 'database:', config['sqlalchemy.url'] > It seems that each time I need to find the path of development.ini > using recursive calls to os.path.dirname(). It would be nice if there > were some standard way to make the parameters in development.ini > readily available to standalone scripts. > > I looked at paste.deploy as suggested in former posts but couldn't get > it to work. > > > > -- edel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
