会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Oops!
管理
2023年10月9日
python 递归遍历目录筛选特定文件名的文件
摘要: #!/usr/bin/python import os import sys list=[] folder_path="/root" def search_files(folder_path): search_string = "测试" for root, dirs, files in os.wal
阅读全文
posted @ 2023-10-09 09:55 Oops!#
阅读(113)
评论(0)
推荐(0)
公告