From 30ee1656980631eee97814b8cc464436e5507371 Mon Sep 17 00:00:00 2001 From: meganzhang Date: Wed, 24 Jul 2024 11:41:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20web?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app.py | 14 -- web/requirements.txt | 1 - web/templates/index.html | 390 --------------------------------------- 3 files changed, 405 deletions(-) delete mode 100644 web/app.py delete mode 100644 web/requirements.txt delete mode 100644 web/templates/index.html diff --git a/web/app.py b/web/app.py deleted file mode 100644 index 6d5eb29..0000000 --- a/web/app.py +++ /dev/null @@ -1,14 +0,0 @@ -# -*- coding: utf-8 -*- -from flask import Flask -from flask import render_template -app = Flask(__name__) - - -@app.route('/') -@app.route('/') -def hello(name=None): - return render_template('index.html', name=name) - - -if __name__ == '__main__': - app.run(host='0.0.0.0') diff --git a/web/requirements.txt b/web/requirements.txt deleted file mode 100644 index 597ce19..0000000 --- a/web/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -Flask==2.3.3 diff --git a/web/templates/index.html b/web/templates/index.html deleted file mode 100644 index 2367260..0000000 --- a/web/templates/index.html +++ /dev/null @@ -1,390 +0,0 @@ - - - - - Python Web Demo | Cloud Studio - - - -
-
-
- Cloud Studio - -
-

欢迎使用 Cloud Studio

-

这是一个 Python Web Demo

-
-
- {% if name %} -

Hello {{ name }}!

- {% else %} -

Hello, Cloud Studio!

- {% endif %} - Say hello to the world -
- -
- -