Python's Argparse module
As your scripts start getting a bit more complex, it might be a challenge setting them up in a way that is consistent and predictable by others. Working with a script that requires different arguments each time you use it wouldn’t be very consistent and predictable. Luckily, Python’s Standard Library comes with a module named Argparse that has a set of tools for parsing command-line arguments in your Python scripts. ...