Using the MySQLdb module

Gerhard Häring lists at ghaering.de
Thu Apr 24 00:14:07 CEST 2003


Michael Mayhew wrote:
> Gerhard Häring wrote:
> 
>> Also see the DB-API 2 specification and the documentation and examples 
>> included in the MySQLdb source distribution.
> 
> Gerhard,
> 
>    Unfortunately, the MySQLdb documentation, both on the web and from 
> the sourceforge location are a little lax for examples on using cursor 
> objects. [...]

Ok, let's repeat for the pedagocical effect:

   """
   ... and the documentation and examples
   included in the MySQLdb *source distribution*.
   """

Let's see what we have here:

gerhard at lilith:/usr/ports/databases/py-MySQLdb/work/MySQL-python-0.9.2 > 
find doc/
doc/
doc/MySQLdb-1.html
doc/MySQLdb-2.html
doc/MySQLdb-3.html
doc/MySQLdb-4.html
doc/MySQLdb-FAQ-1.html
doc/MySQLdb-FAQ-2.html
doc/MySQLdb-FAQ-3.html
doc/MySQLdb-FAQ.html
doc/MySQLdb-FAQ.sgml
doc/MySQLdb.html
doc/MySQLdb.sgml

The documentation isn't very broad, but from what I can see it 
exhaustively explains how to use cursor.execute. IMO it explains 
everything necessary without wasting many words. I like that.

-- Gerhard





More information about the Python-list mailing list