摘要: python 在一个文件夹的所有文件中查找关键字 import os,shutil import re key='Hello' re_parttern=re.compile(r''+key,re.DOTALL) #返回含有目标文字的文件名 filepath='./test/' def get_fil 阅读全文
posted @ 2022-02-10 13:48 阳光中的影子 阅读(1521) 评论(0) 推荐(0) 编辑