Flask - Ecosystem and Patterns
How do you correctly initialize a Flask application in Python?
__name__.Flask(__name__). app = Flask(app_name) uses an undefined variable app_name. app = Flask('myapp') uses a string but not the module name, which is not recommended. app = Flask() misses the required argument.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions