Can’t connect to SQL Server with python

I need to access a SQL Server database that I will edit with Python. For this I’ve installed SQL Server with Microsoft SQL Server Management Studio. Using the following code I can access to my database: import pyodbc conn = pyodbc.connect(‘Driver={SQL Server};’ ‘Server=SERG-PC\SQLEXPRESS;’ ‘Database=Kirin;’ ‘Trusted_Connection=yes;’) cursor = conn.cursor() It works when I launch it from…

Details