📅  最后修改于: 2022-03-11 14:46:29.682000             🧑  作者: Mango
from flask import Flask # Imports flask
app = Flask(__name__) # Setting up the app
@app.route('/') # Sets the route for the page
def hello_world():
return 'Hello, World!' # Returns 'Hello, World' wheen
# you go to the '/' or main page