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
- Connect to a database from Python
- Execute SELECT queries from Python
- Understand how to use the
fetchone()
andfetchall()
methods
Slides
Labs
Resources
This post is licensed under CC BY 4.0 by the author.