'How to get SQLite working in my Flask application?

I'm building a web app in Flask. I'm a noob. This is my first app.

I have followed installation instructions for SQLite, and now I have SQLite on my machine.

How do I include SQLite in my app? I need to be able to use SQLite in my app.py

Do I need to include SQLite in the virtual environment? How do I do that?

Here is the directory I'm working in



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source