DB-API
Posted Mar 28, 2013 16:07 UTC (Thu) by
smurf (subscriber, #17840)
In reply to:
PyCon: Evangelizing Python by kjp
Parent article:
PyCon: Evangelizing Python
I have to second your gripe about the DB-API. It's fundamentally non-Pythonic in other way, too: I would like to write
import Db
db = Db.connect(whatever)
for x,y in db.select("select x,y from foo where bar=${baz}", baz=123):
do_something(x,y)
In fact I wonder how many people, besides me ( see sqlmix on github ) wrote their own wrapper for the stuff?
(
Log in to post comments)