摘要: Python遍历文件夹及下属的子文件夹(摘自: https://www.cnblogs.com) import os # 列出一个文件夹里的所有文件,文件夹 def scan_dir_files(files): if os.path.exists(files):# os.path.exists() 阅读全文
posted @ 2024-12-16 16:48 沉雪's 阅读(354) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示