Answers for "how to start a flask web server"

1

export flask app

> set FLASK_APP=hello
> flask run
Posted by: Guest on August-14-2020
3

flask.pocoo.org quickstart

from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, World!'
Posted by: Guest on June-11-2020

Python Answers by Framework

Browse Popular Code Answers by Language