From eddb3979d6d978e0ca315b2d670cbc9a1417325f Mon Sep 17 00:00:00 2001 From: feilong Date: Tue, 15 Feb 2022 17:48:16 +0800 Subject: [PATCH] refresh --- .gitignore | 7 +++++++ init_tree.py | 21 --------------------- main.py | 5 +++++ 3 files changed, 12 insertions(+), 21 deletions(-) create mode 100644 .gitignore delete mode 100644 init_tree.py create mode 100644 main.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ba74c7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.vscode +.idea +.DS_Store +__pycache__ +*.pyc +*.zip +*.out \ No newline at end of file diff --git a/init_tree.py b/init_tree.py deleted file mode 100644 index 422f58b..0000000 --- a/init_tree.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python -# -*- encoding: utf-8 -*- -''' -@File : combine_tree.py -@Time : 2022/01/20 16:55:49 -@Author : Lu Xin -@Contact : luxin@csdn.net -''' - -# here put the import lib -from src.construct_tree import ConstructTree - -def main(): - init_tree_json = ConstructTree() - init_tree_json.load() - init_tree_json.construct_tree_from_json() - init_tree_json.create_contents() - - -if __name__=="__main__": - main() \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..87499f3 --- /dev/null +++ b/main.py @@ -0,0 +1,5 @@ +from skill_tree.tree import TreeWalker + +if __name__ == '__main__': + walker = TreeWalker("data", "cloud_native", "δΊ‘εŽŸη”Ÿ") + walker.walk() -- GitLab