Пример #1
0
 def __init__(self, file_path, *args, **kwargs):
     connstr = "Driver={Microsoft Access Driver (*.mdb)};Dbq=%s" % file_path
     ODBCTransport.__init__(self, conn=connstr, *args, **kwargs)
Пример #2
0
 def __init__(self, file_path, query):
     assert os.path.exists(file_path)
     connstr = "Driver={Microsoft Access Driver (*.mdb)};Dbq=%s" % file_path
     ODBCTransport.__init__(self, conn=connstr, table=None)
     self.query = query