diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..5ba74c7624a29abd67a2feb4e2a6a9deb1e95549 --- /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 422f58b1dab54e15aa4703e437871242c1bf2336..0000000000000000000000000000000000000000 --- 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 0000000000000000000000000000000000000000..87499f3618ac9cbf5178e64013f59dd94634bfce --- /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()