>>> import string >>> string.punctuation '!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~' 转载于:https://www.cnblogs.com/sea-stream/p/10136134.html