From 96116536a6cee00ae454c3e99a34ed638888cfb9 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Wed, 3 Mar 2021 13:04:59 +0100 Subject: [PATCH] flask test --- server.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 server.py diff --git a/server.py b/server.py new file mode 100644 index 0000000..7ca4bd3 --- /dev/null +++ b/server.py @@ -0,0 +1,10 @@ +from flask import Flask +first_app = Flask(__name__) + +@first_app.route("/") +def first_function(): + return "

I am hosted on Raspberry Pi !!!

" + +if __name__ == "__main__": + first_app.run(host='0.0.0.0') + \ No newline at end of file