Skip to content

danielhrisca/asciifolder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asciifolder

pretty print folder structure to cli

Install

pip install asciifolder

Usage

>>> 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)

About

pretty print folder structure to cli

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages