I am following this Flask tutorial. We declare routes like @app.route('/') , but no variable in python can contain @ character.
I'm confused that what is @app and where it came from. Here's the code snippet :
from app import app
@app.route('/')
@app.route('/index')
def index():
return "Hello, World!"