Skip to main content

Python MySQL

Archived

This page has been archived and will receive no further updates.

use MySQLdb or SQLAlchemy (for greater abstraction)

MySQLdb​

MySQLdb.cursor.execute() query returns​

(when using MySQLdb.cursors.DictCursor)

result[record_index][field][value]