How to create a dict based on such a file?

Westley Martínez anikom15 at gmail.com
Mon Feb 14 23:31:14 EST 2011


On Mon, 2011-02-14 at 19:41 -0800, alex23 wrote:
> On Feb 15, 9:06 am, Steven D'Aprano <steve
> +comp.lang.pyt... at pearwood.info> wrote:
> > As I see it, the biggest problems with INI files are:
> >
> > * the INI file module that comes with Python is quite primitive;
> >
> > * there are many slightly different behaviours you might want in an INI
> > file, and no clean or obvious way to tell which one you are dealing with
> > just from the file.
> 
> [...]
> 
> > Rant: what I *really hate* is when people use XML just because XML is the
> > in-thing, not because they need it.
> 
> Could it possibly be then that people use XML because a) the support
> is better and b) the behaviour is more predictable? That sounds more
> like good tool choice than faddism.
But why is the support better? ... faddism.




More information about the Python-list mailing list