Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pasanlaksitha/project-structure-generator

Generate ASCII Project Structure using Directory
https://github.com/pasanlaksitha/project-structure-generator

ascii-genrator genrator project-structure-genrator structure

Last synced: 4 days ago
JSON representation

Generate ASCII Project Structure using Directory

Awesome Lists containing this project

README

        

# Directory Tree Generator

This Python script generates a visual representation of a directory tree, either printing it to the console or saving it to a file. It can be useful for documenting the structure of a project, particularly when you want to include the directory layout in documentation or README files.

## Features

- Recursively prints the directory tree starting from a specified root directory.
- Saves the directory tree structure to a specified text file with UTF-8 encoding.

## Usage

1. **Run the script:**

You can run the script directly by executing it with Python:

```bash
python genrator.py

Replace genrator.py with the actual name of your Python file.

- : The root directory from which to start the tree.
- : The name of the output file where the directory structure will be saved.

```bash
python genrator.py C:\Projects\Python\ project_structure.txt