mysql python works