摘要: # 正则是匹配字符串的import re# s='holle, world'# ret = s.replace('ll','xx')# hoxxe, world 替换# print(ret)# print(s.find('ll')) #查找 显示查找到2个# print(s.split(' '))# 阅读全文
posted @ 2019-12-25 22:13 feichengwurao 阅读(186) 评论(0) 推荐(0) 编辑