I am a little confused about the pyodbc syntax. Basically I want to create a couple of functions to generate different strings configured for different authentication types; for pushing into pyodbc.
Here is a sample connect dialogue, and as you can see, I want to support Windows Authentication and SQL Server Authentication:
How do I programmatically generate these connection strings?