Running the script without any options results in nothing displayed to stdout. Not so useful. The second one starts to display the usefulness of the argparse module. We have done almost nothing, but ...
Not every programmer likes creating GUI code. Most hacker types don’t mind a command line interface, but very few ordinary users appreciate them. However, if you write command line programs in Python, ...