|
From: Michael F. <fuz...@vo...> - 2006-09-04 09:23:00
|
Terrence Brannon wrote: > I am confused on the use of the terminology "DEFAULT" subsection in > the docs and they dont have any examples of what such a section is. > Sorry. It's not documented very well, but it's a straight copy of what ConfigParser does. > Anyway, I did the intuitive thing with my .ini file and it is failing. > Any feedback on how to get interpolation to work is appreciated: > > [ntis] > user = jim > pass = beam > base_url = https://whiskey.gov/ > page_url = %(base_url)whip.html > You need : [DEFAULT] base_url = https://whiskey.gov/ [ntis] user = jim pass = beam page_url = %(base_url)whip.html In the next update (soon!), interpolation will be changed to allow interpolation from the current section. Fuzzyman http://www.voidspace.org.uk/python/index.shtml > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > |