Question 6
A Flask application and its absolute path is given below.
C:\home\mad_1>app.py
from flask import Flask, url_forimport sys
def create_path(): if len(sys.argv) < 2: return '/static' else: return f'/{sys.argv[1]}'
app = Flask(__name__, static_url_path = create_path())
@app.route('/home')def display(): return f"<h3>static url path: {app.static_url_path}</h3>\ <h3>static folder: {app.static_folder}</h3>"
app.run(debug = True)If the application is run locally on http://127.0.0.1:5000 using the command python app.py stable, what will be rendered by the browser for URL http://127.0.0.1:5000/home?