The Python Way for module configuration?

Petr Messner petr.messner at gmail.com
Sat Jun 27 19:48:33 EDT 2009


Hi,

2009/6/28 kj <no.email at please.post>:
...
> What I'm interested in is the general problem of providing
> configuration parameters to a module.
>

Some database/ORM libraries are configured via simple strings in the
form "dialect://user:password@host/dbname[?key=value..]", for example
"mysql://me:topsecret@localhost/test?encoding=utf8". Is this what you
want to know?

Petr



More information about the Python-list mailing list