DBI module deprecated at Python 2.5--what to use in its place?
mal at egenix.com
Fri Jul 10 18:15:31 CEST 2009
> I have a variety of Python 2.4 scripts that utilitize the DBI and ODBC
> modules together. Although I don't have Python 2.5, I've been informed
> the DBI module has been deprecated at 2.5. A few questions:
> 1) Although deprecated, will it work at all in 2.5? Does the fact that
> it is deprecrated mean it has been removed entirely, or does Python
> 2.5 simply issuing a warning?
> 2) What do I use in place of DBI for my Python 2.4. scripts that
> import modules DBI and ODBC together. I don't use DBI directly. It was
> simply a dependency for the ODBC module as best I knew.
If you're looking for a stable and maintained ODBC for Python,
have a look at our mxODBC extension or mxODBC Connect package:
Professional Python Services directly from the Source (#1, Jul 10 2009)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
More information about the Python-list