Am 10.07.2012 18:29, schrieb Jan E.:
> Hi,
>
> Using a Module as Jam suggested is probably the simplest way.
>
> But of course there are also many data formats you can use. I actually
> prefer JSON over YAML, because it's simpler and more "robust". Reading
> and writing works pretty much like with YAML:

For a config file that I or (somebody else) might want to edit
directly, I find YAML more human readable than JSON

JSON:
{"name":"some name","address":"some address"}

YAML:
:name:    some name
:address: some address

But, of course, that's a matter of taste.

-- 
<https://github.com/stomar/>