1
2
3
4
5
6
7
8
9 |
import
os import
sys path =
"D:\emojis" for (path,dirs,files) in
os.walk(path): for
filename in
files: newname =
"emoji_" + filename os.rename(path + "\\"+filename , " D:\new_emojis "+" \\" + newname) |
简单修改文件名python脚本,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/lipeil/p/3768264.html