Skip to main content

Directory`s files console-visualizer

Project description

Print_dir - it`s a directory-visualizer python-package

How to install

pip install print_dir


from print_dir.visualizer import Visualizer

# You can start work with files from where you would
my_dir = my_dir = Visualizer(directory)  # directory – path to start visualizer

# You can see content of directory

# You can change directory  # to – path to new folder

# Via cd-method you can move back'..')  # if to == '..' directory changes to parent

Example of usage

from print_dir.visualizer import Visualizer

my_dir = Visualizer('/files/directory/')
my_dir.dir()  # OUTPUT:
рџ“Ѓ directory
|_ рџ“Ѓ print_dir
|_ рџ“Ѓ tests
|_ рџ“Ѓ venv
|_ рџ“ѓ .gitignore
|_ рџ“ѓ
|_ рџ“ѓ
my_dir.dir()  # OUTPUT:
рџ“Ѓ tests
|_ рџ“ѓ
|_ рџ“ѓ

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pr_dir-1.0.0.tar.gz (2.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page