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)