summaryrefslogtreecommitdiff
path: root/hello-flask.py
blob: 7e391a83a280c3ae12a3c9810e6aeec272b453ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import flask
import time

app = flask.Flask(__name__)

@app.route("/")
def index():
    return "Hello, world!"

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