[DB-SIG] Using mxODBC
M.-A. Lemburg
mal@lemburg.com
Sat, 04 May 2002 19:34:09 +0200
buchan@ctc.net wrote:
>
> I'm using the mxODBC package from eGenix to connect to a
> MS Access db on Windows NT. How does one specify
> the db pathname in the following command line?
>
> import mx.ODBC.Windows
> db = mx.ODBC.Windows.DriverConnect('DSN=database;UID=user;PWD=passwd')
See http://www.egenix.com/files/python/mxODBC.html#Windows
> Also are user and passwd optional?
Yes.
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/