I am starting a flask
project, and in my code I have
from flask import Flask, render_template, abort
app = Flask(__name__)
Now
The author made his code needlessly confusing by choosing a package name that is the same as Flask's usual application object instance name. This is the one you'll be most interested in:
app = Flask(__name__)
Here is the documentation on the Flask application object:
http://flask.pocoo.org/docs/api/#application-object
To avoid confusion, I recommend using the official Flask documentation instead of that guide.