I wrote this code expecting it to throw a timeout exception:
import pyodbc constr = \'MY CONNECTION STRING...\' cnxn = pyodbc.connect(constr) cnxn.autocommit