Connect In order to establish a connection to the LeanXcale, you need to provide an ODBC’s DSN: import pyodbc cnxn = pyodbc.connect('DSN=LX_DSN')