Making deletion happen python side