摘要: maketrans和translate是密切相关的两个方法,先看translate的说明 S.translate(table [,deletechars]) -> string Return a copy of the string S, where all characters occurrin... 阅读全文
posted @ 2012-08-22 10:18 jianhong 阅读(193) 评论(0) 推荐(0)
摘要: maketrans和translate是密切相关的两个方法,先看translate的说明 S.translate(table [,deletechars]) -> string Return a copy of the string S, where all characters occurrin... 阅读全文
posted @ 2012-08-22 10:18 jianhong 阅读(404) 评论(0) 推荐(0)