from sqlalchemy import *import pytdsimport sqlalchemy_pytds
engine = create_engine(params )from sqlalchemy import *import pytdsimport sqlalchemy_pytdsimport getpassp=getpass.getpass()engine = create_engine('mssql+pytds://' + params)
con = engine.connect()
q = 'SELECT * from table'rs= list(engine.execute(q))for a in rs: print(a)--SQLAlchemy -The Python SQL Toolkit and Object Relational MapperTo post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.---You received this message because you are subscribed to the Google Groups "sqlalchemy" group.To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/fad17b62-5455-4de4-81ba-6d586e92a9ee%40googlegroups.com.