--- title: Python driver for SQL Server description: Connect to a SQL Database using one of the available Python drivers on your preferred operating system. author: David-Engel ms.author: v-davidengel ms.date: 08/22/2023 ms.service: sql ms.subservice: connectivity ms.topic: conceptual --- # Python SQL driver You can connect to a SQL Database using Python on Windows, Linux, or macOS. ## Getting started There are several python SQL drivers available. However, Microsoft places its testing efforts and its confidence in **pyodbc** driver. Choose one of the following drivers, and configure your development environment: - [Python SQL driver - pyodbc](pyodbc/python-sql-driver-pyodbc.md) - [Python SQL driver - pymssql](pymssql/python-sql-driver-pymssql.md) ## Documentation For documentation, see [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/) ## Samples Explore samples that use Python to connect to an SQL database in the following articles: - [Create a Python app in Azure App Service on Linux](/azure/app-service/containers/quickstart-python?tabs=bash) ## Next steps Get started with one of the libraries (drivers). - [`pyodbc` library](pyodbc/python-sql-driver-pyodbc.md) - [`pymssql` library](pymssql/python-sql-driver-pymssql.md)