摘要:
找到当前路径所有文件夹中的某一文件# encoding=utf-8 import os import operator ''' 传入文件名,可以找到该路径下的所有同名文件,并将对应路径及文件写到list_fine_name表中 以二维数组形式存在,并返回 如找文件a.txt 则list_fine_name=[['C:\test','C:\test\a.txt'],['C:\test\abs','... 阅读全文
posted @ 2016-06-02 16:10
harstanber
阅读(478)
评论(0)
推荐(0)
摘要:
# encoding=utf-8 import zipfile import os def unzip_file(zipfilename, unziptodir): if not os.path.exists(unziptodir): os.mkdir(unziptodir) zfobj = zipfile.ZipFile(zipfilename... 阅读全文
posted @ 2016-06-02 16:04
harstanber
阅读(518)
评论(0)
推荐(0)

浙公网安备 33010602011771号