Questions marquées «punctuation»

24
Meilleure façon de supprimer la ponctuation d'une chaîne
На этот вопрос есть ответы на Stack Overflow на рdedом : Как найти символы из кортежа ('!', ',', '?') В строка ит Il semble qu'il devrait y avoir un moyen plus simple que: import string s = "string. With. Punctuation?" # Sample string out = s.translate(string.maketrans("",""), string.punctuation) Y a-t-il?
En utilisant notre site, vous reconnaissez avoir lu et compris notre politique liée aux cookies et notre politique de confidentialité.
Licensed under cc by-sa 3.0 with attribution required.