使用python脚本生成目录结构 1、效果 2、代码 # -*- coding: utf-8 -*- """ @contact: 1 @file: test.py @time: 2025/10/28 14:10 @author: LDC """ from pathlib import Path def filtered_tree(start_path=".", exten