摘要: 1. 相对路径 import os source_path=r'你的目录' for root,dirs,files in os.walk(source_path): print('当前目录为:',root) print('当前目录下的子目录为:') for dirname in dirs: prin 阅读全文
posted @ 2024-08-28 16:06 stone9693 阅读(2239) 评论(0) 推荐(0)
GitHub账户:https://github.com/stone9693