I finally figured out argparse . I didn’t quite understand how to utilize this Python module at first, but I think I’ve got the hang out it now. The point of using it was simply to give brandywine a few command-line options. Have a look:
The learning opportunity was around the ‘vars’ keyword. vars takes the parse arguments and turns them into a Python dictionary. At that point, I had the ability to iterate through the data structure and call the associated methods. There’s more I can do with argparse, but for now, this works.