pretty print folder structure to cli
pip install asciifolder
>>> asciifolder "Python/Lib/concurent"
>>>
concurrent/
βββ __pycache__/
β βββ __init__.cpython-36.pyc
βββ futures/
β βββ __pycache__/
β β βββ __init__.cpython-36.pyc
β β βββ _base.cpython-36.pyc
β β βββ process.cpython-36.pyc
β β βββ thread.cpython-36.pyc
β βββ __init__.py
β βββ _base.py
β βββ process.py
β βββ thread.py
βββ __init__.py
from asciifolder import folde2ascii
for line in folder2ascii(path):
print(line)