[egenix-users] Windows ODBC drivers?

M.-A. Lemburg mal at lemburg.com
Tue Aug 26 22:35:28 CEST 2003


stuff at mailzilla.net wrote:
> Is there an mx.ODBC.Windows (or alternative Python) method to obtain a 
> list of installed ODBC drivers on a Windows systems?  The DataSources() 
> is somewhat useful for connecting to previously defined ODBC sources, but 
> if a source is yet to be defined, there won't be an entry here, even if 
> the driver is installed.  
> 
> The Windows ODBC Data Source Admin Tool provides a list of drivers (on the
> "Drivers" tab), I just don't know how to get this information from Python.

There is an ODBC API for this, but it's currently not exposed
via mxODBC.

I suppose you could use the Python tools for querying the registry
to find out about installed drivers.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, Aug 26 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2003-08-12: Released eGenix mx Extensions for Python 2.3

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the egenix-users mailing list