flask/tests/test_apps/helloworld/hello.py
2022-06-10 00:24:27 -07:00

8 lines
160 B
Python

from flask import Flask
app = Flask(__name__)
#Returns "Hello World!" when "/" is accessed by the user
@app.route("/")
def hello():
return "Hello World!"