pyenv-virtualenv for Windows 1.2
A 'pyenv' plugin to manage Python virtual environments, depending on different Python versions, for various Python projects.
Loading...
Searching...
No Matches
tre.py File Reference

Go to the source code of this file.

Namespaces

namespace  tre
 

Functions

str tre.getProjectPropertyFileStr (str file_path)
 Get the content of project property file.
 
 tre.tree ((Path, str) root_path, int recursion_level=-1, bool limit_to_directories=False, int length_limit=1000, tuple exclude=())
 Given a directory path, print a visual tree structure.
 

Variables

str tre.space = '\x1b[94m \x1b[0m'
 
str tre.branch = '\x1b[94m│ \x1b[0m'
 
str tre.tee = '\x1b[94m├───\x1b[0m'
 
str tre.last = '\x1b[94m└───\x1b[0m'
 

Detailed Description

Author
Michael Paul Korthals
Date
2025-07-10
Version
1.0.0

Library to output the project properties "pyenv-virtualenv" folder tree in the CLI terminal. I derived this code for "pyenv-virtualenv" from a StackOverflow article. Many thanks to its contributor.

See also
https://stackoverflow.com/questions/9727673/list-directory-tree-structure-in-python

Definition in file tre.py.