--- title: "Python Driver for SQL Server | Microsoft Docs" ms.custom: "" ms.date: "08/08/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual ms.assetid: 3a1568d1-917b-46d3-b5cb-facdc740408f author: MightyPen ms.author: genemi --- # Python SQL Driver ![Download-DownArrow-Circled](../../ssms/media/download-icon.png)[To install SQL driver for Python](../sql-connection-libraries.md#anchor-20-drivers-relational-access) You can connect to a SQL Database using Python on Windows, Linux, or Mac. ## Getting Started There are several python SQL drivers available. However, Microsoft places its testing efforts and its confidence in **pyodbc** driver. Choose a driver, and configure your development environment accordingly: * [Python SQL driver - pyodbc](pyodbc/python-sql-driver-pyodbc.md) * [Python SQL driver - pymssql](pymssql/python-sql-driver-pymssql.md) ## Documentation * [Python documentation at Python.org](https://www.python.org/doc/) ## Community * [Azure Python Developer Center](https://azure.microsoft.com/develop/python/) * [python.org Community](https://www.python.org/community/) ## More Samples * [Create a Python web app using DJango and SQL Database in Azure Website](https://github.com/Microsoft/PTVS/wiki/Django-and-SQL-Database-on-Azure) * [Getting Started with Python on Windows](https://www.microsoft.com/sql-server/developer-get-started/python/windows/) * [Getting Started with Python on macOS](https://www.microsoft.com/sql-server/developer-get-started/python/mac/) * [Getting Started with Python on Ubuntu](https://www.microsoft.com/sql-server/developer-get-started/python/ubuntu/) * [Getting Started with Python on Red Hat Enterprise Linux (RHEL)](https://www.microsoft.com/sql-server/developer-get-started/python/rhel/) * [Getting Started with Python on SUSE Linux Enterprise Server (SLES)](https://www.microsoft.com/sql-server/developer-get-started/python/sles/)