from flask import Flask # imorted the Flask class. An instance of this class will be our WSGI application.
app = Flask(__name__) # we create an instance of this class. The first argument is the name of the application's module or package
@app.route('/') #网页要访问入口,/指的是网页根目录你也可以设置成/index
def hello_world(): #根目录的显示内容
return 'Hello, World!' #打印到网页到内容