| title | Python SQL Driver - pyodbc |
|---|---|
| description | This guide describes installing Python, the ODBC Driver for SQL Server, and pyodbc. The corresponding sample code shows how to connect to and interact with a SQL database. |
| author | dlevy-msft-sql |
| ms.author | dlevy |
| ms.reviewer | vanto, randolphwest |
| ms.date | 08/18/2025 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | conceptual |
Use the pyodbc driver to connect to a SQL database from Python code. This series of articles provides step-by-step guidance for installing and using this Python SQL driver.
pyodbc is community-supported software. This software doesn't come with Microsoft support.
Tip
To get help, file an issue in the pyodbc GitHub repository or visit other Python community resources.
[!div class="nextstepaction"] Quickstart: pyodbc Driver for Python