Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- def generate_ascii_tree():
- # Feel free to modify these lines to your specific needs.
- tree = """Pocket Link Saver Root Folder/
- ├── URLs.txt
- ├── Pocket Link Saver.py
- ├── Notes/
- │ ├── Issues.txt
- │ └── Ideas.txt
- ├── Resources/
- │ └── Scripts/
- │ └── Pocket Tags Extractor.py
- ├── Requirements.txt
- ├── Documentation.pdf
- ├── Tags.txt
- ├── Versions/
- │ ├── Changelog.txt
- │ ├── Pocket Link Saver.py (0.1.0)
- │ └── Pocket Link Saver.py (0.2.0)
- ├── Logs/
- │ ├── Failed Saved URLs.txt
- │ └── Past Saved URLs.txt
- """
- return tree
- if __name__ == "__main__":
- ascii_tree = generate_ascii_tree()
- with open(r"C:\Scripts\ASCII Tree Structure Generator\Project Tree.txt", "w", encoding="utf-8") as f:
- f.write(ascii_tree)
- print("Editable ASCII tree saved to Project_Tree.txt.")
- os.startfile(r"C:\Scripts\ASCII Tree Structure Generator\Project Tree.txt")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement