Argparse is the
straightforward standard library module for handling command line
arguments, with a number of nice features. One of those nice features
is groups of mutually exclusive arguments. If
people can only give one of '--quiet' and '--verbose' and... (more…)
Read more »
I’ll say it again: Python is a bad programming language, and the only reason it’s so popular today is because Google pushed it so hard in… (more…)
Read more »
I originally published this on my blogger account. I feel strongly enough about the ideas that I’m also making it my first Medium post. (more…)
Read more »
Today, I wanted to create a basic locking mechanism in Python to prevent certain commands/functions from running concurrently.
I have an script that runs inside of a CI/CD pipeline but it can also be triggered manually. The problem is that certain command... (more…)
Read more »
Only one of these “comments” is a real one.
Well, technically speaking all of them are comments, the real difference between them is speed… (more…)
Read more »