For this reason, I often recommend 'Automate the Boring Stuff with Python' (https://automatetheboringstuff.com/) to beginners. It hits the basics and then moves pretty quickly to address: OK, what can I actually use this for?
We have folders for clients at work and everything older than a couple of years should be archived, aside from certain legal documents. Building a script to check if any file is older than a certain date and checking that it does not contain certain words in the filename, was really easy, and useful, and gave me a good feeling of satisfaction seeing it actually work.