python 返回当前文件夹下的所有文件的绝对路径;打印文件中的中文字符
摘要:
# coding=utf-8 import re import os path = os.path.abspath('.') def all_path(dirname): result = [] for maindir, subdir, file_name_list in os.walk(dirna 阅读全文
posted @ 2020-03-31 14:37 fengZQ 阅读(606) 评论(0) 推荐(0) 编辑