title: flask/python: best way to import and parse a sqlite file
body: <p>At my work we frequently work with sqlite files to perform troubleshooting. I want to create a web page, possibly in flask, that allows users to upload a .sqlite file and automatically have simple, pre-defined queries run. </p>
  
  <p>What is the best way within a Flask application to import a .sqlite file, run queries on it, and then set itself up to repeat the process?</p>