Your Python Scripts Need This

Manpreet Singh
2 min readMay 16, 2022

Welcome back! Python is an amazing programming language with a ton of capability, if you’re new to Python, check out the link below to learn more about it:

So, let’s take a look at an awesome Python package that you should use in every Python script, this specific package is called PrettyPrintTree, and this package allows us to print the tree data structure of our projects! Luckily for us, this project is hosted on GitHub:

Here’s an example of the layout of the output of this package:

Since it’s prints it out in the Terminal, it fits nicely with the layout of the rest of the project! To install this package, you can use the following command:

--

--