```python
text = "欢迎来到Simulation Lotus服务器!"
sta = "欢迎来到登录界面!"
from flask import Flask,render_template
app = Flask(__name__)
@app.route("/")
def index():
return render_template("Simulation_website.html",start = text)
@app.route("/Signin")
def Signin():
return render_template("Simulation_website_signin.html",signin = sta)
app.run()
#
这个是python上的代码,在与python程序同级的还有一个文件夹,叫templates,里面放的是与flask网站相连的html网页