find out what tables are in database using sqlalchemy code example Example: list tables sqlalchemy $ python >>> from myapp import db >>> db.engine.table_names()