You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tait Hoyem
9192c7caab
|
2 years ago | |
---|---|---|
.. | ||
__pycache__ | 2 years ago | |
README.md | 2 years ago | |
data.py | 2 years ago | |
requirements.txt | 2 years ago | |
tree.py | 2 years ago |
README.md
Trees
To change the output of the tree, read the data.py file.
Install one (optional) package: bs4
(Beautiful Soup 4), with pip install -r requirements.txt
.
This will make the output "pretty" (i.e. indented).
To print the output to terminal, run python tree.py
To save to a file, run python tree.py file.html
.
To append to an already existing file, run python tree.py >> file.html