I wanted to let you know that I recently created a package AbstractTree.
It can be used to make somewhat similar output as Directory-Tree, but it can also print other kinds of trees.
When used like this:
from pathlib import Path
from abstracttree import print_tree
# The lambda will hide hidden files
print_tree(Path('.'), keep=lambda n, it: not str(n).startswith("."))
Hi,
I wanted to let you know that I recently created a package AbstractTree. It can be used to make somewhat similar output as Directory-Tree, but it can also print other kinds of trees.
When used like this:
This will print:
which looks similar to what Directory-Tree prints.
If you have any ideas or suggestions, let me know. Or feel free to close this issue for being off topic.