Does anyone else have Al Sweigart’s Automate the Boring Stuff with Python? I’m not a huge fan of the fragmented style, in comparison to Zed’s, but it’s a useful book. The “multiclipboard” project from chapter 8 especially stood out to me for its utility – how many times do you need an old piece of text from the clipboard that’s been overwritten? Too many, darn it.
I’m not a huge fan of the manual argument parsing, so I went ahead and created a new version that uses argparse. You can find my repo
Also, I’m fairly new to Github, so any advice would be appreciated. I’ve got the basic “init-edit-add-commit-push” workflow down, but beyond that? Ehh…
Also, feedback on the code itself is obviously welcome. As my commits will show, I’ve been pushing myself to make it as robust and user-friendly as possible.
I’m considering removing some of the return codes – like in add()
– because they seemed necessary at first, but that doesn’t seem the case now.