In my testing, I need to connect to Oracle, SQL Server and DB2 on various platforms. I have a base class with all the common code, and derived classes for each specific database type using specific database modules such as cxOracle, mxODBC and pyDB2. The derived classes are pretty thin, containing only some syntax peculiarities for a given database type. The code is clean and portable.
Grig -- http://mail.python.org/mailman/listinfo/python-list