CData Python Connector for Excel Services

Build 20.0.7587

Connecting

Connecting with the cdata.excelservices Module:

The connector's module is used directly to establish a connection with the data source. It is able to take a connection string as its argument, as in the below example:

import cdata.excelservices as mod
conn = mod.connect("Url=https://myorg.sharepoint.com;User=admin@myorg.onmicrosoft.com;Password=password;File=Book1.xlsx;")
cur = conn.cursor()

Once the connection is created, you can execute subsequent SQL queries using the connection's cursor object.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587