版权声明:本文为博主原创文章,转载请注明出处 https://blog.csdn.net/flyDeDog/article/details/82465149
https://blog.csdn.net/shudaqi2010/article/details/51568219
from sqlalchemy import create_engine
engine = create_engine("mysql://root:@localhost:3306/webpy?charset=utf8",encoding="utf-8", echo=False)
conn = engine.connect()
conn.execute("SELECT * FROM user")