Comment remplacer les caractères spéciaux dans une chaîne Python

removeSpecialChars = z.translate ({ord(c): " " for c in "!@#$%^&*()[]{};:,./<>?\|`~-=_+"})
Misty Moth