best way to read a configuration file

cmkl cmkleffner at gmx.de
Mon Mar 8 10:38:15 EST 2004


Paul,

do you have a jython compatible pyparsing version?.
I tried to modifiy pyparsing for jython-2.2a0 without
success (jython still doesnt support newstyle classes)

Regards

Carl


"Paul McGuire" <bogus at bogus.net> wrote in message news:<1qj1c.29893$qo.16145 at fe1.texas.rr.com>...
> 
> pyparsing also comes with an expression parser and evaluator in its
> examples.  With some creative merging of the two, I think you could in
> fairly short order have a config parser that would handle your Na = K+2 and
> res_file = "$result_dir..." config values.
> 
> The pyparsing home page is at http://pyparsing.sourceforge.net.
> 
> HTH,
> -- Paul



More information about the Python-list mailing list