Sample usage of mySQL with python http://zetcode.com/db/mysqlpython/