会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
夜雨声烦
博客园
首页
新随笔
联系
订阅
管理
2018年11月4日
python 获取指定文件夹下所以文件
摘要: reportPath =文件夹路径 listdir=以一个list返回文件夹下所以文件 dirs = os.listdir(reportPath)print(dirs) def __get_report(self): """获取最新测试报告""" dirs = os.listdir(reportPa
阅读全文
posted @ 2018-11-04 02:03 mahaining
阅读(819)
评论(0)
推荐(0)
公告