delete mysql query python script