mysql execute scripts with python