界面优化

This commit is contained in:
stardrophere
2026-03-15 17:10:28 +08:00
parent 69479fc699
commit ffae889516
6 changed files with 119 additions and 7 deletions
+6 -2
View File
@@ -1,5 +1,6 @@
import os
def print_tree(root, prefix=""):
items = sorted(
name for name in os.listdir(root)
@@ -18,6 +19,9 @@ def print_tree(root, prefix=""):
extension = " " if is_last else ""
print_tree(path, prefix + extension)
root_dir = r"E:\ScnuProject\InsightRadar\backend\app" # 改成你的目录
root_dir = r"E:\ScnuProject\InsightRadar\backend\app"
print(os.path.basename(root_dir) + "/")
print_tree(root_dir)
print_tree(root_dir)