Skip to content
TeachTrails
Data EngineeringPython

Python and PostgreSQL: psycopg, COPY, Upserts

Talk to databases from Python: connect with psycopg, parameterised queries (and why f-strings break), transactions, upserts, bulk loading with COPY, and SQLite.

Sukanya Saha, Technology Consultant

12 min read

Beginner friendly

Checking your accessโ€ฆ