When the user clicks the login button, it should run a python file, which is a program that checks user login info. I'm very new to coding and html so I'm not quite sure if it's possible or not. CODE
from flask import Blueprint
auth = Blueprint("auth", __name__)
@auth.route('/login')
def login():
return "<p>Login</p>"
#Here is where I'd like to run the python script
@auth.route('/logout')
def logout():
return "<p>Logout</p>"
