Library

Using Databases in Python

118-minute Python Course

Start Course Play Watch trailer

About this Course

When you want to store data from a program, you have two general choices: files or databases. In this course, we're going to explore using a database from within Python by using the excellent ORM Peewee. We'll build a command line diary application that stores our thoughts and notes in a SQLite database, lets us review and delete them, and even has a search feature!

What you'll learn

  • ORMs
  • Peewee
  • OrderedDict

Teacher

  • Kenneth Love

    Besides teaching Python, Kenneth Love is a husband and father. He created a few popular Python libraries, worked at most levels of the web stack, and was the Creative Director of a newspaper. He likes board games, whiskey, activism, and dry humor.

Download videos

You need to sign up for Treehouse in order to download course videos.

Sign up