On Fri, Apr 30, 2004 at 09:16:44AM +0200, Nicolas Cannasse wrote:
> > On Fri, Apr 30, 2004 at 12:54:36AM +0200, Bardur Arantsson wrote:
> > > Sorry, if I come across as confrontational/annoyed, but I
> > > am a _huge_ fan of ConfigParser (the python one that is),
> > > I use it in all my Python-based projects where persistent
> > > configuration is even slightly useful..
> >
> > Stay tuned; my missinglib for OCaml will support Python-style
> > interpolation very shortly.... This should render it fully compatible
> > with Python's SafeConfigParser, and give it some extra features to boot.
> > That is, OCaml's library can parse files generated by Python's save(),
> > and vice-versa, and get the same results out of them.
> >
> > -- John
>
> Could you interface it with IO ? so one can read and write config files.
> What is exactly "interpolation" ?
>
Interpolation is basically just variable susbstitution; as
in the following Perl snippet:
print "This is the variable value: $bla\n"
where the value of the "bla" variable from the surrounding
scope is inserted into the string.
--
Bardur Arantsson
<bardur@xxxxxxxxxxxx>
<bardur@xxxxxxxxxxxxxxx>
- Disco Stu doesn't advertise.
Disco Stu | The Simpsons
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|