Using Databases With Flask - Python and Flask #8

Опубликовано: 16 September 2026
на канале: John Elder
83,490
1.4k

In this video I'll show you how to start using Databases with Flask and Python.


We'll be creating a database to keep track of our Friends list. We'll use sqlite3 and sqlalchemy for the database.

Using a database in flask is fairly easy, you just add sqlalchemy to your app, then create a model that defines your database table and columns. Then adding and retrieving things from the database is trivial.