Processing CLI Arguments with Python

Lets do a little coding today, simple solution to take command-line arguments and act on them. We’ll look at two methods, the legacy way of reading sys.argv, and using the argparse module to simplify the reading and processing of such arguments. We all know when a library or module exists, that’s probably the way to go. Don’t reinvent the wheel right? Lets try it anyway. Why you ask? Because I can! [Read More]