In python web framework flask and mysql implementation books to add and delete.
from flask import Flask,render_template,request,flash,redirect,url_for
from flask_sqlalchemy import SQLAlchemy
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired
uncomment:
if name=='main':
#db.drop_all()
#db.create_all()
app.run()