from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, World!' So what did that code do? First we imported the Flask class. An instance of this class will be our WSGI application. Next we create an instance of this class. The first argument is the name of the applicationâs module or package. If you are using a single module (as in this example), you should
{{#tags}}- {{label}}
{{/tags}}