<gh_stars>1-10
from flask import Flask
app = Flask("HelloWorld")

@app.route("/")
def hello():
    return "<NAME>"

@app.route("/data")
def data():
    return "Generating data ..."


if __name__ == "__main__":
    app.run(port=(8421))
from flask import Flask
app = Flask("HelloWorld")

@app.route("/")
def hello():
    return "<NAME>"

@app.route("/data")
def data():
    return "Generating data ..."


if __name__ == "__main__":
    app.run(port=(8421))