I have a string of tab-indented lines that looks like this:
Node A
Node B
Node C
Node D
Node E
Node F
And I hope to get a data structure where I can traverse the tree by the following:
print data[Node A][Node B][Node C] => Gives me all children under Node C
How can I do this with Python? I don't know what to search for this! Any help would be really appreciated.