Python Clean String Using Python In Libreoffice