From: Kev Dwyer on
On Wed, 10 Mar 2010 16:17:29 -0800, robert somerville wrote:

> hi;
> i am trying to get some legacy python code (which i no nothing about)
> working with tries to import dbi and odbc (the import fails ...) it
> looks like these modules are deprecated ?? if so is there a work around
> , if not deprecated, what am i doing wrong ?? i see no Ubuntu packages
> that look promising ..

Hello Robert,

These modules are distributed as part of the PyWin32 Python for Windows
extensions, so they need to run on a Windows box. They'll run fine
there regardless of the deprecation of dbi (though "import dbi" will
provide a useful warning message).

Pyodbc is a possible alternative.

Cheers,

Kev