from pathlib import Path from flask import Blueprint _PAGE = Path(__file__).parent.name bp = Blueprint(_PAGE, __name__)