Skip to main content

This module helps to print/generate a directory tree.

Project description

directory-tree-generator

Requirements

python >= 3.0

Installation

pip install directory-tree-generator

Usage

Pass the directory path to the generate method

from DirectoryTree import TreeGenerator
Tree = TreeGenerator()
Tree.generate('C:/users/Ajay/Desktop/Junk')

Output

+ Junk/
   + Stylesheets/
       • country.css
   + Java Files/
       • mm.java
   + Media/
      + Images/
          • globe.png
          • 1598791605362.jpg
      + GIFs/
          • connection_11598806195526.gif
      + Audios/
          • Sound.mp3
   + Database Files/
       • db.sqlite3
   + PDFs/
       • Pdf.pdf
   + Javascript Files/
       • app.js
   + Python Files/
       • Notepad.py
   + Text Files/
       • requirements.txt
   + HTML Files/
       • share.html
   + Json Files/
       • package-lock.json
   + Documents/
       • DBMS_ALL Programs.docx
   + Readme Files/
       • README.md

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

directory-tree-generator-0.0.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

directory_tree_generator-0.0.1-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page