摘要:
1 text是xxxx年xx月xx日 re.sub('年月','-',text[:-1]). 2 阅读全文
posted @ 2019-11-27 10:51
jackduan1
阅读(2821)
评论(0)
推荐(0)
摘要:
https://blog.csdn.net/qq_29719097/article/details/80650742 当连接异常时,用try expect, 使用retry获取异常后重复操作 阅读全文
posted @ 2019-11-27 10:46
jackduan1
阅读(1939)
评论(0)
推荐(0)
摘要:
1分隔一个用 str.split() 分隔多个字符串 re.split(',|;|:',str) 2替换一个 str.replace() 替换多个 re.sub(r"[‘’“”ˇ\n\s,。]*", "", text) 阅读全文
posted @ 2019-11-27 10:39
jackduan1
阅读(4378)
评论(0)
推荐(0)