From 14518aeb0a2e08f470f60892bbc83b0b7ba8b5eb Mon Sep 17 00:00:00 2001 From: Abhishek Veeramalla Date: Wed, 3 Apr 2024 21:34:24 +0530 Subject: [PATCH] simple python app --- simple-python-app/app.py | 10 ++++++++++ simple-python-app/requirements.txt | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 simple-python-app/app.py create mode 100644 simple-python-app/requirements.txt diff --git a/simple-python-app/app.py b/simple-python-app/app.py new file mode 100644 index 00000000..0c9d9e60 --- /dev/null +++ b/simple-python-app/app.py @@ -0,0 +1,10 @@ +from flask import Flask + +app = Flask(__name__) + +@app.route('/') +def hello_world(): + return 'Hello, World!' + +if __name__ == '__main__': + app.run(debug=True, host='0.0.0.0', port=8000) \ No newline at end of file diff --git a/simple-python-app/requirements.txt b/simple-python-app/requirements.txt new file mode 100644 index 00000000..fdceace4 --- /dev/null +++ b/simple-python-app/requirements.txt @@ -0,0 +1,2 @@ +Flask==2.1.0 +Werkzeug==2.2.2 \ No newline at end of file