📅  最后修改于: 2022-03-11 14:46:04.202000             🧑  作者: Mango
>>> from plant import Node
>>>
>>> unit_test_file = Node("tests/unit/test_base.py")
>>> unit_test_file.dir
Node('tests/unit')
>>> unit_test_file.dir.dir
Node('tests/unit')
>>> unit_test_file.dir.dir.dir
Node('tests/unit')