title: Is there a way for the python interpreative console to import my entire app at one time?
body: <p>Is there some sort of method or resource I can reference that would allow me to import my entire application into the python interpreter?</p>
  
  <p>For example when I run <code>python</code> to do some flask-sql queries I have to do this EVERYTIME I exit:</p>
  
  <pre><code>python
  import project
  from project import app,db, etc etc
  from project.models import Model, Model,
   goes on and on......
  </code></pre>
  
  <p>How can I avoid doing that to bypass the repetiveness? Coming from Rails, its so nice to just run <code>rails c</code> and have everything loaded for you.</p>