~/talk

Introduction to Python Database Programming

Talkat EuroPython 2011 · 2011-06-20..06-26· [databases, python]
links:none on file
slides:none on file

Covers the practical DB-API surface: connect returns a connection with commit/rollback and close, connection.cursor() yields a cursor that runs SQL, fetchone/fetchmany/fetchall and execute many for bulk inserts, and parameter binding to prevent SQL injection. Notes history (original spec 1996, DB-API 2.0 in 1999), common modules (psycopg2, MySQLdb, cx_Oracle, pyodbc, mx modules), issues with transaction isolation and locks, schema introspection via cursor.description, support for multiple result sets and the optional two-phase commit extension for distributed transactions.

AI-written summary · about

  1. 0:00Python DB programming
  2. 1:26Motivation for DB API
  3. 13:31DB API basics
  4. 38:19Advanced DB techniques
  5. 56:38Schema introspection
  6. 57:24Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.