CData Python Connector for Access

Build 21.0.7930

Establishing a Connection

The objects available within our connector are accessible from the "cdata.access" module. In order to use the module's objects directly, the module must first be imported as below:

import cdata.access as mod

From there, the connect() method can be called from the connector object to establish a connection using an appropriate connection string, such as the below:

mod.connect("DataSource=C:\\My.accdb")

To connect to Access, set the DataSource property to the path to the Access database file.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930