python 文件批量改名重命名 rename
摘要:
path = '/Volumes/Seagate/dev/imgs/' os.chdir(path) print('cwd: ', os.getcwd()) for f in os.listdir('.'): if not f.endswith('.jpg'): os.rename(f, f + ' 阅读全文
posted @ 2020-09-02 11:01 明天有风吹 阅读(670) 评论(0) 推荐(0)
浙公网安备 33010602011771号