pyton之批量更改文件类型 ------宅男必备
引入python os模块
#coding=utf-8
from __future__ import print_function
import sys
import os
#获取系统编码格式
type= sys.getfilesystemencoding()
def altetFileName(path):
for name in os.listdir(path):
原创
2014-11-07 08:57:50 ·
620 阅读 ·
0 评论