On 27 Dec 2005 10:02:17 -0800, Gekitsuu <[EMAIL PROTECTED]> wrote: > My > hypothetical situation was as follows. I'm writing a new generic SQL > module and I want to make it so I only call the appropriate module for > the type of SQL server I'm talking to. Then it would make sense to > load, for instance, the mysql module and not the sqlite, postgresql, > etc.
You should take a look at the Dabo project. The dabo.db module take a setting and imports just the required library for the chosen database. It really isn't that difficult a concept to handle. -- # p.d. -- http://mail.python.org/mailman/listinfo/python-list