Seems like you have a good alternative that doesn’t require a script, but for tasks like this I like to recommend the book Automate the Boring Stuff with Python. It’s free to read online, and if I recall correctly has essentially exactly this task as one of the exercises.
Seems like you have a good alternative that doesn’t require a script, but for tasks like this I like to recommend the book Automate the Boring Stuff with Python. It’s free to read online, and if I recall correctly has essentially exactly this task as one of the exercises.