from sqlalchemy import delete
from core import user_table, engine


con = engine.connect()
d = delete(user_table).where(user_table.c.nome == 'daniel')

resultado = con.execute(d)
print(resultado.rowcount)