>>>> I'm after a good library/class/etc to handle properties and
>>>
>>> settings
>>>> for my WXPython apps either in simple INI files or trendy XML.
>>>
>>> python .ini file - Google Suche
>>>
>>> The second hit:
>>>
>>> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65334
>>>
>> Another option would be to look into wx.Config, which I use and
>> really like.
>>
>
> Or wx.FileConfig, which will be a INI style file on all platforms.
>I don't want to sound condescending but I think that if it is not related
to the GUI and it *IS* in python standard libraries.... the python variant
should be used *NOT* the wxPython. Reading a a config file has nothing to
do with the GUI.
I disagree. There are often many ways to skin a cat. People's brains work
in different ways, people come to the list with different backgrounds and
different levels of skill.
If there are three different ways to do something someone asks about, why
not present all three ways and let the person seeking to solve the problem
choose the way that works best for them?
My personal experience is that my brain appears to work more like Robin's
than Guido's. Or maybe it's that Robin has done things in a way that are
more accessible to self-trained, CS-ignorant slobs like me. I don't know
exactly what it is, but I often find the wxPython way easier to wrap my
brain around. If the Python way works better for you, great. But please
don't discourage people from sharing ideas about the ways that might work
better for me.
David