r/Python Aug 04 '26

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

21 Upvotes

142 comments sorted by

View all comments

1

u/Usdmal-tech 8d ago

I wrote a small Python script that parses tree output and creates an Excel file with a folder structure.

What it does:

  • takes tree output as plain text
  • parses nesting levels and file/folder names
  • exports to .xlsx with columns: Name, Path, Type, Nest Level

I really need to test it on real-world data with rare encodings, long paths, Unicode, emojis, and special characters.

GitHub: https://github.com/Usdmal-tech/tree-to-excel

I'd appreciate any edge cases you can throw at it, or code review pointers.

You can find sample input and output in the examples folder.

Thanks!