import sqlalchemy as db # import mysqlclient # mysql+pymysql://:@/[?] engine = db.create_engine('mysql+pymysql://registro_escolar:mwgzHRXTPrS3JEnd@localhost/registro_escolar') connection = engine.connect() metadata = db.MetaData()