摘要: python移除全部的英文的特殊字符 使用re 和string可以移除全部的英文特殊符号。 import re import string out = re.sub('[%s]'% re.escape(string.punctuation), '', 'this is !$') 阅读全文
posted @ 2022-01-17 18:00 蒙奇LU 阅读(271) 评论(0) 推荐(0)