摘要: strip(),replace()和re.sub()用法 语法 str.replace(old, new[, max]) 参数 old -- 将被替换的子字符串。new -- 新字符串,用于替换old子字符串。max -- 可选字符串, 替换不超过 max 次 re.sub(pattern, rep 阅读全文
posted @ 2019-08-30 09:34 6six 阅读(150) 评论(0) 推荐(0) 编辑