摘要: 1 import os 2 3 # 遍历目录下的所有文件 4 def check_file(file_path): 5 os.chdir(file_path) 6 print(os.path.abspath(os.curdir)) 7 all_file = os.listdir() 8 files 阅读全文
posted @ 2022-02-28 17:36 废物大师兄 阅读(395) 评论(0) 推荐(0) 编辑