摘要: https://zhuanlan.zhihu.com/p/645193779?utm_id=0 阅读全文
posted @ 2023-08-10 21:26 笨笨和呆呆 阅读(222) 评论(0) 推荐(0)
摘要: import os def get_subdirectories(directory, depth=1): subdirectories = [] if depth > 0: for item in os.listdir(directory): item_path = os.path.join(di 阅读全文
posted @ 2023-08-10 11:30 笨笨和呆呆 阅读(54) 评论(0) 推荐(0)