会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
邓聪聪
/dengcongcong/
博客园
首页
新随笔
联系
订阅
管理
python遍历目录下的文件
import os, re file_path = “path” def readfile(): filelist = os.listdir(file_path) for i in filelist: filelist = str(os.path.splitext(i)[0]) #replace只能
posted @
2022-08-31 10:40
邓聪聪
阅读(
32
) 评论(
0
)
编辑
收藏
举报
指间灵动,快码加编
刷新页面
返回顶部
公告