title: Flask: "from app import app"?
body: <p>I'm following <a href="http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-iii-web-forms" rel="noreferrer">this tutorial</a> to make a basic Flask app:  and I don't understand the line of code in <strong>app/view.py</strong> that says <code>from app import app</code>. In that line, what do both of the <code>app</code> refer to? Do they both refer to the same thing?</p>
  
  <p>Note: I know that there is a folder called app, and that there is an object</p>
  
  <pre><code>app = Flask(__ name__) in __ init__.py 
  </code></pre>
  
  <p>if that helps...</p>