📜  植物 python 文档 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:04.202000             🧑  作者: Mango

代码示例1
>>> 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')