摘要: 一、递归调用 1、使用os.listdir() import os def list_files_and_folders(path): # 遍历指定路径 for item in os.listdir(path): item_path = os.path.join(path, item) # 获取完整 阅读全文
posted @ 2025-01-09 11:17 凡人半睁眼 阅读(31) 评论(0) 推荐(0) 编辑

阅读目录(Content)

此页目录为空

点击右上角即可分享
微信分享提示