标签:creat tar users sim import blog rom pre col
安装pyodbc
pip install pyodbc -i https://pypi.tuna.tsinghua.edu.cn/simple
创建连接
engine=create_engine("mssql+pyodbc://sa:ddh123@pawndb")
conn = engine.connect()
查询
from sqlalchemy.sql import select s = select([users]) result = conn.execute(s)
参考:
https://blog.csdn.net/qq_43355223/article/details/82997175
标签:creat tar users sim import blog rom pre col
原文地址:https://www.cnblogs.com/hzjdpawn/p/12724685.html