Closed kiraskyler closed 2 days ago
here is Example at https://treelib.readthedocs.io/en/latest/
>>> from treelib import Node, Tree >>> tree = Tree() >>> tree.create_node("Harry", "harry") # root node >>> tree.create_node("Jane", "jane", parent="harry") >>> tree.create_node("Bill", "bill", parent="harry") >>> tree.create_node("Diane", "diane", parent="jane") >>> tree.create_node("Mary", "mary", parent="diane") >>> tree.create_node("Mark", "mark", parent="jane") >>> tree.show() Harry ├── Bill └── Jane ├── Diane │ └── Mary └── Mark
but:
# python3 simple.py b'Harry\n\xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80 Bill\n\xe2\x94\x94\xe2\x94\x80\xe2\x94\x80 Jane\n \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80 Diane\n \xe2\x94\x82 \xe2\x94\x94\xe2\x94\x80\xe2\x94\x80 Mary\n \xe2\x94\x94\xe2\x94\x80\xe2\x94\x80 Mark\n'
😥
pr: pull/23
here is Example at https://treelib.readthedocs.io/en/latest/
but:
😥