摘要:
# 获取文件夹下所有文件# _*_ coding: utf-8 _*_ import os path = r'E:\log' def get_filelist(): Filelist = [] for home, dirs, files in os.walk(path): for filename in files: # 文件名列表,包含完整路径 Filelist.append(os.path.j 阅读全文
posted @ 2019-10-22 16:31
小学弟-
阅读(525)
评论(0)
推荐(0)
浙公网安备 33010602011771号