摘要: str.marktrans方法:生成一个dict表。对应翻译表(asc码格式),如:t = str.maketrans(‘abcdefghi’, ‘123456789’,“abfgjk”)返回:{97: None, 98: None, 99: 51, 100: 52, 101: 53, 102: N 阅读全文
posted @ 2019-09-10 17:52 菜鸟阿呆 阅读(572) 评论(0) 推荐(0) 编辑