阅读背景:

如何使用.translate()从Python 3.x中删除字符串中的标点符号?

来源:互联网 

I want to remove all punctuation marks from a text file using .translate() method. It seems to work well under Python 2.x but under Python 3.4 it doesn't seem to do anything. I want to remove all punctuation marks from a t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: