title: Access SQLite3 database that is located up one directory from application folders
body: <p>I have a directory structure for my flask application as follows.  I have a main application folder with two separate folders underneath it.  One is for some db jobs that I will schedule the other is for the flask application.  Any ideas on what I need to do to be able to access the db from each of the application folders?</p>
  
  <pre><code>--MainApp
  ----__init__.py
  ----database.db
  ------FlaskWebApp
  --------__init__.py
  --------runserver.py
  ------DBJobs
  --------__init__.py
  --------dbJobsMain.py
  </code></pre>
  
  <p>What I want to be able to do is access the database.db file from runserver.py or dbJobsMain.py.  Any ideas on what I have to do to make that happen? Or are there better ways to structure this application?</p>
  
  <p>Thanks!</p>