Post

Week 8 - SQL in Python

sqlite, connect, fetchone, fetchall

Week 8 - SQL in Python

This session will introduce sqlite and its Python connector and learn how to connect to a database and execute SQL queries from Python.

Goals

  1. Connect to a database from Python
  2. Execute SELECT queries from Python
  3. Understand how to use the fetchone() and fetchall() methods

Slides

Labs

Resources

This post is licensed under CC BY 4.0 by the author.