I've tried the following:
>>> import pyodbc
>>> cnxn = pyodbc.connect(Driver="MDB", database="SohabeD51.mdb")
pyodbc.Error: ('08001', '[08001] [unixODBC]Could not find DSN in
connect string (1) (SQLDriverConnectW)')
Connecting to a database using a DSN entry works fine, but I'd like to supply a database in the code.