📅  最后修改于: 2022-03-11 14:46:14.883000             🧑  作者: Mango
import string
#make translator object
translator=str.maketrans('','',string.punctuation)
string_name=string_name.translate(translator)