摘要: 学习python爬虫时遇到了一个问题,书上有示例如下: import re line='Cats are smarter than dogs' matchObj=re.match(r'(.*)are(.*?).*',line) if matchObj: print('matchObj.group() 阅读全文
posted @ 2020-09-12 20:34 虚在君 阅读(4494) 评论(0) 推荐(0) 编辑