python 批量重命名

import os
ll=os.listdir(".")
c=0
for f in ll:
c=c+1
os.rename(f,str(c)+".jpg")

原文地址:https://www.cnblogs.com/ahuo/p/6306454.html