ivor 当前离线
上校
#!/usr/bin/env python # Python 3.5.1 # coding:utf-8 # .avi后缀的文件, 名字不足3位的前面自动补0 import os for file in os.listdir("."): if file.endswith("avi"): os.rename(file,file.zfill(7))复制代码
评分人数
TOP