r/Python • u/gabriel_GAGRA • Aug 17 '26
Discussion What are some Python automations you built for your life?
What Python scripts/projects did you built to use on a day to day basis? Or maybe someone else built it, but it’s useful for your personal life in some way
I think the “projects ideas” thread is really missing those useful opportunities
I myself thought about automating tax calculations, but still didn’t take the time to do it hah
323
Upvotes
View all comments
Show parent comment
1
u/ContractPhysical7661 Aug 17 '26
We use an older reporting system that isn't locked down to the extent you're describing, but there is no API for employees. That's why I'm experimenting with playwright + a cli tool (argparse/some custom fx to validate my entry/extract variables for filtering the reports). It's all point/click with dropdowns and entries.
What I do now is run all of the reports/queries that I need do, and save them to my downloads folder. I have a map of the glob patterns that each of the reports follow (e.g. Detail Financial Report Download*.xlsx, since only the suffix will be adjusted with multiple overlapping downloads), use Path.home().iterdir() / "Downloads" w/ those patterns, then sort the results using each path's .stat() / created time, and select the latest for each of them. From there i generate my frames and they're pointed to save to a shared directory for my team. Saves a decent amount of time and the biggest bottleneck for me is the manual/cut/paste/etc. so it's nice to be able to do this in a single run.
P.s. never feel stupid, we're always learning from each other