he recommended command-line parsing module in the Python standard library 1. Basic import argparse parser = argparse.ArgumentParser() parser.parse_args() $ python prog.py --help usage: prog.py [-h] optional arguments: -h, --help show this help messag…