kj wrote:
In <c91011ad-b52c-4fb7-8e2c-1de165636...@d32g2000yqh.googlegroups.com> Aaron Sherman 
<aaronjsher...@gmail.com> writes:

On Jun 27, 4:38=A0pm, MRAB <pyt...@mrabarnett.plus.com> wrote:

I would appreciate your comments and suggestions.
There are already modules which provide access to databases.

As you can see the "Python Way" is to be rude ;-)

Anyway, your answer is that there are some abstraction layers called
"ORMs". You can grab one of these and write a back end for it.
However, you might first want to look at SQLLite and see if it already
has what you want (e.g. a light-weight, zero-install database
interface).


Hi, thanks, but the database aspect of my question is tangential.
What I'm interested in is the general problem of providing
configuration parameters to a module.

TIA!

kynn


Check out the ConfigParser module, a standard module. In Python 3.0, it's renamed to configparser, but still part of the standard distribution.

This module interprets a file that's in roughly the  INI format.




--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to