[ANN] PySQLite 0.3.0 released
Terry Reedy
tjreedy at udel.edu
Thu Sep 12 09:36:08 EDT 2002
"Gerhard Häring" <gerhard.haering at opus-gmbh.net> wrote in message
news:slrnao0e6p.23c.gerhard.haering at haering.opus-gmbh.net...
> A Python-DB API 2.0 compliant extension module that connects to
> SQLite databases.
...
> row = cursor.fetchone()
>
> while row != None:
> print "%14s, %15s, %19s, %8s, %25s" % tuple(row)
> row = cursor.fetchone()
Does anyone know whether there are any plans to update the Python-DB
API to the new iterator protocols, so that the above could be written
more simply something like
for row in cursor:
print "%14s, %15s, %19s, %8s, %25s" % tuple(row)
?
Terry J. Reedy
More information about the Python-list
mailing list