首页 - 正文 python 采集循环匹配内容 技术分享 22/05/11 本文关键字: python, re, region 之前做数据处理,通常用c#: MatchCollection mc=reg.Matches(mystr); 在python里面做匹配的话 import re result = re.findall(r'(\w+)=(\d+)’, ‘set width=20 and height=10’) print(result) 相关阅读: python 多线程汇总处理结果常用sql数据处理函数Python 下载m3u8到整合mp4discuz!X 论坛程序支持大图长图发布python 请求api获取json数据插入数据库web3.js 解析日志参数 data