会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
风清扬001
博客园
首页
新随笔
联系
订阅
管理
2017年11月28日
批量重命名
摘要: import os path = os.getcwd() os.chdir(path) file_name = os.listdir(path) # print file_name for each in file_name: if ('WC' in each) and ('WCT' not in each): name_rew = 'WCT' + each[2:] ...
阅读全文
posted @ 2017-11-28 15:45 “人生苦短”
阅读(193)
评论(0)
推荐(0)
编辑
公告