mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-06-06 00:57:51 +08:00
界面优化
This commit is contained in:
+6
-2
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user