What is the meaning of this line("app = Flask(name)") in the below code?
I am aware that name is a special variable that gets as value the string "main" when we are executing the script. Please tell me why we are passing name here in "app = Flask(name)"?
from flask import Flask
app = Flask(__name__)
@app.route('/')
def home():
return "Hey there!"
if __name__ == '__main__':
app.run(debug=True)