adding mysql python routines