In this folder, I include the scripts to connect both Python and R with Microsoft SQL Server using the Open Database Connectivity (odbc) interface.
In Python, I utilize the pyodbc package for the connection:
import pyodbc
In R, I use the odbc package:
library(odbc)